From 4533f715c430fd564d91a081d483c3f21b24ca1c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 7 Sep 2016 16:19:47 -0400 Subject: [PATCH] v0.4.2: actors no longer process after hero death --- .../shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java index 81b5cc379..6a16758f5 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java @@ -427,7 +427,7 @@ public class GameScene extends PixelScene { if (!freezeEmitters) water.offset( 0, -5 * Game.elapsed ); - if (!Actor.processing() && (t == null || !t.isAlive())) { + if (!Actor.processing() && (t == null || !t.isAlive()) && Dungeon.hero.isAlive()) { t = new Thread() { @Override public void run() {