diff options
-rw-r--r-- | client/game.gd | 2 | ||||
-rw-r--r-- | client/menu/popup_message.gd | 2 | ||||
-rw-r--r-- | client/player/onscreen_controls/virtual_joystick.gd | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/game.gd b/client/game.gd index 0a5d85ae..09027d18 100644 --- a/client/game.gd +++ b/client/game.gd @@ -341,7 +341,7 @@ func spectate_center(): $Center.position = new_center func spectate_free(): - var direction := Input.get_vector("left", "right", "forward", "backwards") + var direction := Input.get_vector("left", "right", "forwards", "backwards") direction = direction.rotated(-camera.angle_target) $Center.position += Vector3( direction.x, diff --git a/client/menu/popup_message.gd b/client/menu/popup_message.gd index 86b0ee2b..90e86faa 100644 --- a/client/menu/popup_message.gd +++ b/client/menu/popup_message.gd @@ -95,7 +95,7 @@ func stop_game_hints(): func _input(_event): if Input.is_action_just_pressed("boost"): Global.set_hint("has_boosted", true) - if any_action_just_pressed(["forward", "backwards", "left", "right"]): + if any_action_just_pressed(["forwards", "backwards", "left", "right"]): Global.set_hint("has_moved", true) if any_action_just_pressed(["rotate_left", "rotate_right", "rotate_up", "rotate_down"]): if not Global.get_hint("has_reset"): diff --git a/client/player/onscreen_controls/virtual_joystick.gd b/client/player/onscreen_controls/virtual_joystick.gd index 5385a610..4d3675b6 100644 --- a/client/player/onscreen_controls/virtual_joystick.gd +++ b/client/player/onscreen_controls/virtual_joystick.gd @@ -41,7 +41,7 @@ enum Visibility_mode { @export var action_left := "left" @export var action_right := "right" -@export var action_up := "forward" +@export var action_up := "forwards" @export var action_down := "backwards" var is_pressed := false |