v0.2.3e: fixed a bug where pushing a shopkeeper would cause a crash
This commit is contained in:
parent
2119f0d1b9
commit
e4e12f74dd
|
@ -73,6 +73,7 @@ public class Pushing extends Actor {
|
||||||
|
|
||||||
delay = 0;
|
delay = 0;
|
||||||
|
|
||||||
|
if (sprite.parent != null)
|
||||||
sprite.parent.add( this );
|
sprite.parent.add( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user