summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 057a3a32bc..47b413b01b 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1107,7 +1107,11 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
{
_grab_followers();
- _save_level( old_level, old_level_type, old_branch );
+ if (old_level_type == LEVEL_DUNGEON
+ || old_level_type != you.level_type)
+ {
+ _save_level( old_level, old_level_type, old_branch );
+ }
}
if (make_changes)