aboutsummaryrefslogtreecommitdiff
path: root/cmd/mud/main.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-11 19:24:25 -0400
committerhistoria <[not public]>2026-06-11 19:24:25 -0400
commit6b2b4bf470b655f01c5a21c5f558a6102402c214 (patch)
tree10970b523999b87ea09c63486906f0c5314f3542 /cmd/mud/main.go
parent1b9e2da3b3c438d8dc53d3489725dd5ba0022777 (diff)
downloadthehouseoficarus-6b2b4bf470b655f01c5a21c5f558a6102402c214.tar.gz
feat: map implemented with BFS
Diffstat (limited to 'cmd/mud/main.go')
-rw-r--r--cmd/mud/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/mud/main.go b/cmd/mud/main.go
index e3e3d32..161392c 100644
--- a/cmd/mud/main.go
+++ b/cmd/mud/main.go
@@ -34,6 +34,7 @@ func main() {
}
g := game.New(dataDir)
+ g.MapWidth = cfg.Game.MaxWidth
g.Ticks.Start()
defer g.Ticks.Stop()