From 423cfe133ae8a8f9d7a87b2c4d151af3fd7aa7fc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 18 Feb 2025 20:24:41 +0800 Subject: feat: entering new rooms - door connects two rooms - detects if player enters a door, if so, then switch room and update player location --- config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.lua') diff --git a/config.lua b/config.lua index 38b1b7d..7ae9b39 100644 --- a/config.lua +++ b/config.lua @@ -29,7 +29,7 @@ function initGame() time = 0, lastSummonTime = 0, - currentRoom = Room:new() + currentRoom = Room.generate() } end -- cgit v1.2.3