mirror of
https://github.com/Sheldan/canvas.git
synced 2026-04-20 21:29:04 +00:00
survivors: homing behaving a bit better with this, but not great
This commit is contained in:
@@ -51,11 +51,13 @@ export abstract class Projectile implements Acting, Placeable {
|
|||||||
this.world.removeProjectile(this)
|
this.world.removeProjectile(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this.lastColliding = target;
|
this.lastColliding = target;
|
||||||
} else {
|
} else {
|
||||||
this.lastColliding = undefined;
|
this.lastColliding = undefined;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.lastColliding = undefined;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.status.collisionCooldown.decreaseCooldown()
|
this.status.collisionCooldown.decreaseCooldown()
|
||||||
this.checkWorldBorder()
|
this.checkWorldBorder()
|
||||||
|
|||||||
Reference in New Issue
Block a user