v0.4.2: actors no longer process after hero death

This commit is contained in:
Evan Debenham 2016-09-07 16:19:47 -04:00
parent 79248994ed
commit 4533f715c4

View File

@ -427,7 +427,7 @@ public class GameScene extends PixelScene {
if (!freezeEmitters) water.offset( 0, -5 * Game.elapsed ); 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() { t = new Thread() {
@Override @Override
public void run() { public void run() {