Fixed some bugs related to restoration of dungeons. Stupidgoddamnthing