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

This commit is contained in:
Duncan Brown
2022-05-04 18:26:13 -04:00
committed by Julian Murgia
parent c9c7cd2dfa
commit 85947794b9

View File

@@ -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")