forked from team-sg/hero-mark-2
make pushing need horizontal input (fixes #123)
This commit is contained in:
parent
494916361b
commit
9a3a62d16b
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ func _process_movement(delta: float) -> void:
|
||||||
position.x += col.normal.x * 0.001
|
position.x += col.normal.x * 0.001
|
||||||
|
|
||||||
# check for wall
|
# check for wall
|
||||||
if is_on_wall():
|
if is_on_wall() and Input.get_axis("ui_left", "ui_right") != 0.0:
|
||||||
state_chart.send_event("push_start")
|
state_chart.send_event("push_start")
|
||||||
|
|
||||||
func _process_floating_up(delta: float) -> void:
|
func _process_floating_up(delta: float) -> void:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue