aboutsummaryrefslogtreecommitdiff
path: root/go/game/map.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/map.go')
-rw-r--r--go/game/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/map.go b/go/game/map.go
index e0c99911..fb67ebbb 100644
--- a/go/game/map.go
+++ b/go/game/map.go
@@ -226,7 +226,7 @@ func (m *Map) RandomTileFromSymbols(r *rand.Rand, symbols []string) (Position, e
for _, symbol := range symbols {
tileString, ok := m.symbols[symbol]
if !ok {
- return INVALID_POSITION(), fmt.Errorf(fmt.Sprintf("symbol %s not in the map symbols %v", symbol, m.symbols))
+ return INVALID_POSITION(), fmt.Errorf("%s", fmt.Sprintf("symbol %s not in the map symbols %v", symbol, m.symbols))
}
tileType, ok := TileNames[tileString]