From 0cb15955392c624e055e38fa3083ec9167774d43 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Fri, 3 Feb 2023 17:47:04 +0100 Subject: [PATCH] radians hurhur --- Scripts/lichtkastje.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/lichtkastje.gd b/Scripts/lichtkastje.gd index 1254170..2a10f56 100644 --- a/Scripts/lichtkastje.gd +++ b/Scripts/lichtkastje.gd @@ -20,5 +20,5 @@ func _on_lock_input_event(camera, event, position, normal, shape_idx): func _on_lever_input_event(camera, event, position, normal, shape_idx): if event is InputEventMouseButton and event.is_action_pressed("interact"): - $Lever.rotation.z = $Lever.rotation.z + 180 + $Lever.rotation.z = $Lever.rotation.z + PI $".."/Light.visible = !$".."/Light.visible