Minor tweaks

This commit is contained in:
Kayne Ruse
2014-08-15 08:53:41 +10:00
parent 4ea1f8b016
commit 52ab9f0087
2 changed files with 4 additions and 9 deletions
+1 -5
View File
@@ -32,11 +32,7 @@
int RoomManager::CreateRoom() {
//create the room
RoomData* newRoom = new RoomData();
//set the state
if (luaState) {
newRoom->pager.SetLuaState(luaState);
}
newRoom->pager.SetLuaState(luaState);
//register the room
roomMap[counter] = newRoom;