v0.4.2: actors no longer process after hero death
This commit is contained in:
parent
79248994ed
commit
4533f715c4
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user