finish game, proceed to finals

This commit is contained in:
Settel 2021-09-24 20:46:57 +02:00
parent c0cebcfc55
commit c4f290303d

View File

@ -7,7 +7,7 @@ import (
func (gm *Game) FinishGame() {
state, _ := gm.GetState()
if state != STATE_PLAY {
fmt.Printf("invalid state, can't continue game in %s state\n", state)
fmt.Printf("invalid state, can't finish game in %s state\n", state)
return
}