summaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-11 14:08:00 +0800
committerEltrac <hi@guhub.cn>2025-03-11 14:08:00 +0800
commit0d7a8ae93fffc234f582176e5e1d11ff544bf1a4 (patch)
tree4a0b7a34fe87e2387c5e6a2288fc6e79a49d13b6 /config.lua
parent4796980e67d29bb7679c6a731c797ae6453e9941 (diff)
fix: no walls in first room & cannot enter doors
Diffstat (limited to 'config.lua')
-rw-r--r--config.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.lua b/config.lua
index e3d35bf..1e99abc 100644
--- a/config.lua
+++ b/config.lua
@@ -49,4 +49,5 @@ function initGame()
G.allRooms = map.generate(config.initialMapSize, true)
G.currentRoom = G.allRooms[1]
+ G.currentRoom:init()
end