finish game, proceed to finals
This commit is contained in:
parent
c0cebcfc55
commit
c4f290303d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user