godot-shooter / commit
Disable debug code that changes zoom when up/down is pressed.
actors/Player.gd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/actors/Player.gd b/actors/Player.gd index 524c5a5..b8c36ee 100644 --- a/actors/Player.gd +++ b/actors/Player.gd @@ -66,11 +66,11 @@ func _process(_delta: float) -> void: if dead: return - # handle up/down actions - if Input.is_action_pressed("up"): - camera.zoom /= zoom_step - if Input.is_action_pressed("down"): - camera.zoom *= zoom_step +# # handle up/down actions +# if Input.is_action_pressed("up"): +# camera.zoom /= zoom_step +# if Input.is_action_pressed("down"): +# camera.zoom *= zoom_step # set the rotation for static controls static_controls.global_rotation = 0