fix: necessary guard in case 'run' hasn't been executed yet

This commit is contained in:
Duncan Brown authored and Julian Murgia committed 2022-05-11 19:18:05 +02:00
1 parent c9c7cd2dfa
commit 85947794b9
1 file changed
+3
@@ -54,4 +54,7 @@ func run(command_params: Array) -> int:
# Function called when the command is interrupted.
func interrupt():
if timer == null:
return
timer.emit_signal("timeout")