diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java index e229ced3e..6d3640413 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java @@ -231,13 +231,20 @@ public abstract class Actor implements Bundlable { } if (!doNext){ - interrupted = false; - synchronized (Thread.currentThread()) { + + interrupted = interrupted || Thread.interrupted(); + + if (interrupted){ + current = null; + interrupted = false; + } + synchronized (GameScene.class){ //signals to the gamescene that actor processing is finished for now GameScene.class.notify(); } + try { Thread.currentThread().wait(); } catch (InterruptedException e) {