for (int i = 0; i < dimX; i++)
{
for (int j = 0; j < dimY; j++)
{
int id = 0;
<BUG>Room room = new Room(id, instance_name + " Room (" + i + ", " + j + ")", EnumSet.of(ObjectFlag.ROOM, ObjectFlag.DARK), "You see nothing.", 0);
roomIds[counter] = room.getDBRef();</BUG>
counter = counter + 1;
dRooms[i][j] = room;
}

for (int i = 0; i < dimX; i++)
{
for (int j = 0; j < dimY; j++)
{
int id = 0;
Room room = new Room(id, instance_name + " Room (" + i + ", " + j + ")", EnumSet.of(ObjectFlag.DARK), "You see nothing.", 0);
roomIds[counter] = room.getDBRef();
counter = counter + 1;
dRooms[i][j] = room;
