v0.6.2: fixed guards not updating their location target when chaining
This commit is contained in:
parent
0bb5d8202a
commit
f3eab8a148
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user