We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4166c77 commit 0b1f3e4Copy full SHA for 0b1f3e4
internal/app/controller/engine.go
@@ -188,6 +188,9 @@ func (e *Engine) Continue() {
188
e.SendCommand(CommandHalt, "")
189
} else if e.State.NextCommand != CommandUnknown {
190
e.SendCommand(e.State.NextCommand, e.State.NextCommandFor)
191
+ } else {
192
+ log.Println("No next command available to continue with. Halting game.")
193
+ e.SendCommand(CommandHalt, "")
194
}
195
196
0 commit comments