fixed a (broken) help screen displayed when mousing over another land in the Guided Tour

This commit is contained in:
Zeno Rogue 2020-03-25 13:46:34 +01:00
parent a967de75e0
commit dbfce6cf31
1 changed files with 3 additions and 2 deletions

View File

@ -1512,8 +1512,9 @@ EX void movecost(cell* from, cell *to, int phase) {
}
#if CAP_TOUR
if(from->land != to->land && tour::on && (phase & 2))
tour::checkGoodLand(to->land);
if(from->land != to->land && tour::on && (phase & 2)) {
changes.at_commit([to] { tour::checkGoodLand(to->land); });
}
#endif
if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) {