v1.2.0: fixed prison guards not considering motion when casting chains
This commit is contained in:
parent
fab26bd1db
commit
a7e17632ba
|
@ -95,7 +95,7 @@ public class Guard extends Mob {
|
||||||
yell(Messages.get(this, "scorpion"));
|
yell(Messages.get(this, "scorpion"));
|
||||||
new Item().throwSound();
|
new Item().throwSound();
|
||||||
Sample.INSTANCE.play(Assets.Sounds.CHAINS);
|
Sample.INSTANCE.play(Assets.Sounds.CHAINS);
|
||||||
sprite.parent.add(new Chains(sprite.center(), enemy.sprite.center(), new Callback() {
|
sprite.parent.add(new Chains(sprite.center(), enemy.sprite.destinationCenter(), new Callback() {
|
||||||
public void call() {
|
public void call() {
|
||||||
Actor.addDelayed(new Pushing(enemy, enemy.pos, newPosFinal, new Callback() {
|
Actor.addDelayed(new Pushing(enemy, enemy.pos, newPosFinal, new Callback() {
|
||||||
public void call() {
|
public void call() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user