From c54ac4e21a2710f72bc52639d82ad7bbd034d594 Mon Sep 17 00:00:00 2001 From: Raffson Date: Tue, 28 Oct 2025 21:05:56 +0100 Subject: [PATCH] Save compat fix w.r.t. renamed airport in AFG --- game/persistency.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/persistency.py b/game/persistency.py index bbcacf6c..f854d69e 100644 --- a/game/persistency.py +++ b/game/persistency.py @@ -141,6 +141,10 @@ class MigrationUnpickler(pickle.Unpickler): "Helipad_218" ]: return dcs.terrain.Airport # use base-class if airport was removed + if module == "dcs.terrain.afghanistan.airports": + if name == "Khost_Heliport": + from dcs.terrain.afghanistan.airports import FOB_Salerno + return FOB_Salerno if module == "dcs.terrain.falklands.airports": if name == "Aerodromo_De_Tolhuin": from dcs.terrain.falklands.airports import Tolhuin