From 6ddea481e4035038610eb71b4dd6798cd6175ebc Mon Sep 17 00:00:00 2001 From: Khopa Date: Sun, 4 Jul 2021 19:34:58 +0200 Subject: [PATCH] Corrected some bugs preventing marianas campaigns from running --- game/theater/conflicttheater.py | 1 + qt_ui/uiconstants.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/game/theater/conflicttheater.py b/game/theater/conflicttheater.py index 732e4313..e0f4d69a 100644 --- a/game/theater/conflicttheater.py +++ b/game/theater/conflicttheater.py @@ -704,6 +704,7 @@ class ConflictTheater: "Normandy": NormandyTheater, "The Channel": TheChannelTheater, "Syria": SyriaTheater, + "MarianaIslands": MarianaIslandsTheater, } theater = theaters[data["theater"]] t = theater() diff --git a/qt_ui/uiconstants.py b/qt_ui/uiconstants.py index ad4f26e4..761cbc19 100644 --- a/qt_ui/uiconstants.py +++ b/qt_ui/uiconstants.py @@ -68,7 +68,7 @@ def load_icons(): ICONS["Terrain_Normandy"] = QPixmap("./resources/ui/terrain_normandy.gif") ICONS["Terrain_TheChannel"] = QPixmap("./resources/ui/terrain_channel.gif") ICONS["Terrain_Syria"] = QPixmap("./resources/ui/terrain_syria.gif") - ICONS["Terrain_Mariana"] = QPixmap("./resources/ui/terrain_mariana.gif") + ICONS["Terrain_MarianaIslands"] = QPixmap("./resources/ui/terrain_marianas.gif") ICONS["Dawn"] = QPixmap("./resources/ui/conditions/timeofday/dawn.png") ICONS["Day"] = QPixmap("./resources/ui/conditions/timeofday/day.png")