mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Migrator fix for 'Hipico'
This commit is contained in:
parent
54a471fe82
commit
703da303ee
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user