mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-11 23:17:12 +08:00
Moved EatMeatButton to beginning of combat UI
This commit is contained in:
+2
-2
@@ -29,7 +29,7 @@ var Events = {
|
|||||||
|
|
||||||
options: {}, // Nothing for now
|
options: {}, // Nothing for now
|
||||||
|
|
||||||
activeEvent: null,
|
activeEvent: null,
|
||||||
activeScene: null,
|
activeScene: null,
|
||||||
eventPanel: null,
|
eventPanel: null,
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ var Events = {
|
|||||||
Events.createAttackButton('fists').prependTo(btns);
|
Events.createAttackButton('fists').prependTo(btns);
|
||||||
}
|
}
|
||||||
|
|
||||||
Events.createEatMeatButton().appendTo(btns);
|
Events.createEatMeatButton().prependTo(btns);
|
||||||
|
|
||||||
// Set up the enemy attack timer
|
// Set up the enemy attack timer
|
||||||
Events._enemyAttackTimer = setTimeout(Events.enemyAttack, scene.attackDelay * 1000);
|
Events._enemyAttackTimer = setTimeout(Events.enemyAttack, scene.attackDelay * 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user