From ec88d07ef18e1e7ceaf68cdb52e34b863953f134 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 1db5cee5..2eefdbc9 100644 --- a/game/theater/conflicttheater.py +++ b/game/theater/conflicttheater.py @@ -699,6 +699,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")