1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 18:55:23 +01:00

Add map changed hook

This commit is contained in:
Ted John
2022-02-20 02:05:24 +00:00
parent 1128f76a97
commit 84fdd44e6a
12 changed files with 52 additions and 3 deletions

View File

@@ -336,6 +336,7 @@ bool TitleScreen::TryLoadSequence(bool loadPreview)
if (!loadPreview)
{
GetContext()->GetGameState()->InitAll(DEFAULT_MAP_SIZE);
game_notify_map_changed();
}
return false;
}