Add 'Fog' class to CustomUnpickler

This class also got refactored and moved into its own package, hence we need to add it to the custom unpickler
This commit is contained in:
Raffson
2023-05-20 01:38:33 +02:00
parent 5eee136189
commit 93b3157c35

View File

@@ -33,6 +33,9 @@ class MigrationUnpickler(pickle.Unpickler):
if name == "Clouds":
from game.weather.clouds import Clouds
return Clouds
if name == "Fog":
from game.weather.fog import Fog
return Fog
if name == "ClearSkies":
from game.weather.weather import ClearSkies
return ClearSkies