aboutsummaryrefslogtreecommitdiff
path: root/go/game/unit.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/unit.go')
-rw-r--r--go/game/unit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/unit.go b/go/game/unit.go
index c6c1839a..4851a037 100644
--- a/go/game/unit.go
+++ b/go/game/unit.go
@@ -90,7 +90,7 @@ func (u *Unit) onUpkeep() {
func (u *Unit) move(s *State, tile *Tile) {
if !u.IsAvailableTile(tile) {
- log.Fatalf("moving to not available tile %v", tile)
+ log.Panicf("moving to not available tile %v", tile)
}
if u.containingPerm != nil {