aboutsummaryrefslogtreecommitdiff
path: root/main.gd
diff options
context:
space:
mode:
Diffstat (limited to 'main.gd')
-rw-r--r--main.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.gd b/main.gd
index c5f7d0d..768366a 100644
--- a/main.gd
+++ b/main.gd
@@ -26,15 +26,15 @@ func _process(delta: float):
if timeout > 0.0:
timeout -= delta
else:
- Engine.target_fps = 10.0
+ Engine.target_fps = 10
-func _input(event):
+func _input(event: InputEvent):
Engine.target_fps = 0
timeout = 3.5
-func _unhandled_input(event):
+func _unhandled_input(event: InputEvent):
Engine.target_fps = 0
timeout = 3.5