comment leaving game timeout
This commit is contained in:
parent
13c50726bc
commit
edc7faec5d
@ -82,11 +82,11 @@ class Combat extends Phaser.Scene {
|
||||
if (startGame) { this.startGame(data); return true; }
|
||||
this.checkAnimation(data);
|
||||
// Game over?
|
||||
if (data.phase === 'Finish') {
|
||||
this.time.delayedCall(10000, () => {
|
||||
this.endGame();
|
||||
});
|
||||
}
|
||||
// if (data.phase === 'Finish') {
|
||||
// this.time.delayedCall(10000, () => {
|
||||
// this.endGame();
|
||||
// });
|
||||
// }
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ class CrypRows extends Phaser.GameObjects.Group {
|
||||
this.add(row);
|
||||
|
||||
const crypStat = (stat, j) => {
|
||||
const STAT_X = 0;
|
||||
const STAT_X = ROW_X;
|
||||
const STAT_Y = (j * TEXT_MARGIN) + ROW_Y + TEXT_MARGIN;
|
||||
|
||||
const text = list.add.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.base}`, TEXT.NORMAL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user