Replaced RoomData's hooks with Initialize API function
This commit is contained in:
@@ -26,5 +26,6 @@ dumpTable(roomSystem.RoomManager)
|
||||
dumpTable(roomSystem.Room)
|
||||
|
||||
local overworld = roomSystem.RoomManager.CreateRoom("overworld")
|
||||
roomSystem.Room.Initialize(overworld, "overworld.bmp", mapSaver.Load, mapSaver.Save, mapMaker.debugIsland, mapSaver.Save)
|
||||
|
||||
print("Finished the lua script")
|
||||
|
||||
Reference in New Issue
Block a user