1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

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

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) {