diff options
Diffstat (limited to 'main.gd')
| -rw-r--r-- | main.gd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
