Fixed bug in random not accounting for different rooms