mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Add missing Hyper Mode pieces
Some code was missing from the Hyper Mode feature addition. This completes the use of `Engine.setTimeout` and adds doubleTime check in button cooldowns. Closes #374
This commit is contained in:
@@ -371,7 +371,7 @@ var StateManager = {
|
||||
if(changed){
|
||||
$SM.fireUpdate('income', true);
|
||||
}
|
||||
Engine._incomeTimeout = setTimeout($SM.collectIncome, 1000);
|
||||
Engine._incomeTimeout = Engine.setTimeout($SM.collectIncome, 1000);
|
||||
},
|
||||
|
||||
//Thieves
|
||||
|
||||
Reference in New Issue
Block a user