diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 04:47:02 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 04:47:02 +0000 |
commit | bbb205e0b5f4c9a8ed70f842770e5ed46e7985c3 (patch) | |
tree | 6659ae4d0e994bda3ea9c55e683d3ecbe462f529 | |
parent | 9899c2b4ed14700a8e14656997ddcb50d8a4b580 (diff) | |
download | crawl-ref-bbb205e0b5f4c9a8ed70f842770e5ed46e7985c3.tar.gz crawl-ref-bbb205e0b5f4c9a8ed70f842770e5ed46e7985c3.zip |
Don't mark milestones before game start (Keskitalo)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10302 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/hiscores.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index d503d51660..ca79a18e72 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -2078,7 +2078,7 @@ std::string xlog_fields::xlog_line() const #ifdef DGL_MILESTONES void mark_milestone(const std::string &type, const std::string &milestone) { - if (crawl_state.arena) + if (crawl_state.arena || !crawl_state.need_save) return; const std::string milestone_file = Options.save_dir + "milestones.txt"; if (FILE *fp = lk_open("a", milestone_file)) |