Added support for cleaning up after rejection messages

This commit is contained in:
Kayne Ruse
2014-12-01 22:33:15 +11:00
parent c89f94b681
commit cc167180f6
8 changed files with 136 additions and 8 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ dumpTable(roomSystem)
dumpTable(roomSystem.RoomManager)
dumpTable(roomSystem.Room)
local overworld = roomSystem.RoomManager.CreateRoom("overworld")
--NOTE: room 0 is the first that the client asks for, therefore it must exist
local overworld, uid = roomSystem.RoomManager.CreateRoom("overworld")
roomSystem.Room.Initialize(overworld, "overworld.bmp", mapSaver.Load, mapSaver.Save, mapMaker.debugIsland, mapSaver.Save)
print("Finished the lua script")