Don't stop when hitting a wall on a force floor
This commit is contained in:
1 parent
8b18ce37fb
commit
9197061096
1 file changed
+1
-1
+1
-1
@@ -365,7 +365,7 @@ class Level {
|
|||||||
player_direction &&
|
player_direction &&
|
||||||
actor.last_move_was_force)
|
actor.last_move_was_force)
|
||||||
{
|
{
|
||||||
direction_preference = [player_direction];
|
direction_preference = [player_direction, actor.direction];
|
||||||
this._set_prop(actor, 'last_move_was_force', false);
|
this._set_prop(actor, 'last_move_was_force', false);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in new issue
Block a user