v3.0.0: fixed rare cases where amulet scene wouldn't happen instantly

This commit is contained in:
Evan Debenham
2025-01-02 16:33:31 -05:00
parent 504309492a
commit b9cd64c934

View File

@@ -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(){