1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Reduce desyncs by removing teh track before updating peep logic

This commit is contained in:
duncanspumpkin
2019-12-11 16:13:40 +00:00
parent cfb4bba721
commit d97bb88c41
5 changed files with 58 additions and 0 deletions

View File

@@ -440,6 +440,13 @@ public:
window_invalidate_by_class(WC_FINANCES);
window_invalidate_by_class(WC_RESEARCH);
break;
case INTENT_ACTION_TRACK_DESIGN_REMOVE_PROVISIONAL:
TrackPlaceClearProvisionalTemporarily();
break;
case INTENT_ACTION_TRACK_DESIGN_RESTORE_PROVISIONAL:
TrackPlaceRestoreProvisional();
break;
}
}