Debugged lastRoomVisited glitch