v0.6.2: fixed guards not updating their location target when chaining

This commit is contained in:
Evan Debenham 2017-10-12 00:26:16 -04:00
parent 0bb5d8202a
commit f3eab8a148

View File

@ -89,6 +89,7 @@ public class Guard extends Mob {
return false;
} else {
final int newPosFinal = newPos;
this.target = newPos;
yell( Messages.get(this, "scorpion") );
sprite.parent.add(new Chains(sprite.center(), enemy.sprite.center(), new Callback() {
public void call() {