From ae082455c79d265430dafc5b4512dc3f62b0060c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Nov 2021 21:21:30 -0500 Subject: [PATCH] v1.1.0: corrected game quitting exploit fix causing Goo to have doubled attack delay --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Goo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Goo.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Goo.java index 00fd9ae7c..b73df678c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Goo.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Goo.java @@ -183,10 +183,9 @@ public class Goo extends Mob { ((GooSprite)sprite).triggerEmitters(); } attack( enemy ); + spend( attackDelay() ); } - spend( attackDelay() ); - return !visible; } else {