From 703da303ee327e24533b14bc2cdf0af0c9cd8f94 Mon Sep 17 00:00:00 2001 From: Raffson Date: Tue, 30 May 2023 21:36:50 +0200 Subject: [PATCH] Migrator fix for 'Hipico' --- game/persistency.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/persistency.py b/game/persistency.py index 3e4dfc82..2ef07fe3 100644 --- a/game/persistency.py +++ b/game/persistency.py @@ -6,6 +6,8 @@ import shutil from pathlib import Path from typing import Optional, TYPE_CHECKING, Any +import dcs.terrain.falklands.airports + from game.profiling import logged_duration if TYPE_CHECKING: @@ -48,6 +50,8 @@ class MigrationUnpickler(pickle.Unpickler): if name == "Thunderstorm": from game.weather.weather import Thunderstorm return Thunderstorm + if name == "Hipico": + return dcs.terrain.falklands.airports.Hipico_Flying_Club return super().find_class(module, name) # fmt: on