Fixed errors introduced in dungeon.erl