summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openttd.c b/openttd.c
index a078bad5a..c40555ee6 100644
--- a/openttd.c
+++ b/openttd.c
@@ -1312,6 +1312,8 @@ bool AfterLoadGame(void)
} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
}
+ if (CheckSavegameVersion(22)) UpdatePatches();
+
FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index);
return true;