fixed a bug where NPCs walked into unbuilt rooms