diff options
Diffstat (limited to 'go/game/state.go')
| -rw-r--r-- | go/game/state.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/go/game/state.go b/go/game/state.go index 6c3b237f..e16233a5 100644 --- a/go/game/state.go +++ b/go/game/state.go @@ -137,7 +137,9 @@ func (s *LocalState) IsActivePlayer(p *Player) bool { func (s *LocalState) Loop() []*Player { // Prepare the map - s._map.Prepare(s) + if s._map.Prepare != nil { + s._map.Prepare(s) + } if s._map.HasStores() { poc := NewPileOfCards() |
