fuzzyworld

godot-shooter / commit

Disable debug code that changes zoom when up/down is pressed.

e8a6965f686608b9b6519a3ae598ec4194950a5b · Pavel Safronov · 2023-12-21 14:13:19 -0800 · parents 50d0dc8b04ca

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