v3.0.0: fixed rare cases where amulet scene wouldn't happen instantly
This commit is contained in:
@@ -74,7 +74,7 @@ public class Amulet extends Item {
|
||||
|
||||
if (!Statistics.amuletObtained) {
|
||||
Statistics.amuletObtained = true;
|
||||
hero.spend(-TIME_TO_PICK_UP);
|
||||
hero.spend(-hero.cooldown());
|
||||
|
||||
//delay with an actor here so pickup behaviour can fully process.
|
||||
Actor.add(new Actor(){
|
||||
|
||||
Reference in New Issue
Block a user