修复死循环错误
This commit is contained in:
parent
74c49797cd
commit
d6071c86c5
|
@ -1308,6 +1308,16 @@ public class Hero extends Char {
|
|||
InterlevelScene.mode = InterlevelScene.Mode.ASCEND;
|
||||
Game.switchScene(InterlevelScene.class);
|
||||
}
|
||||
} else {
|
||||
curAction = null;
|
||||
|
||||
TimekeepersHourglass.timeFreeze timeFreeze = buff(TimekeepersHourglass.timeFreeze.class);
|
||||
if (timeFreeze != null) timeFreeze.disarmPressedTraps();
|
||||
Swiftthistle.TimeBubble timeBubble = buff(Swiftthistle.TimeBubble.class);
|
||||
if (timeBubble != null) timeBubble.disarmPressedTraps();
|
||||
|
||||
InterlevelScene.mode = InterlevelScene.Mode.ASCEND;
|
||||
Game.switchScene(InterlevelScene.class);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user