From 557a284afdba56e9477a09d2387b817f7b936741 Mon Sep 17 00:00:00 2001 From: Ziktofel Date: Sat, 15 Nov 2025 02:18:58 +0100 Subject: [PATCH] SC2: Fix custom mission order if used in weights.yaml (#5604) --- worlds/sc2/mission_order/options.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worlds/sc2/mission_order/options.py b/worlds/sc2/mission_order/options.py index 84630ba13a..aa1c6727c7 100644 --- a/worlds/sc2/mission_order/options.py +++ b/worlds/sc2/mission_order/options.py @@ -176,8 +176,7 @@ class CustomMissionOrder(OptionDict): # This function constructs self.value by parts, # so the parent constructor isn't called self.value: Dict[str, Dict[str, Any]] = {} - if yaml_value == self.default: # If this option is default, it shouldn't mess with its own values - yaml_value = copy.deepcopy(self.default) + yaml_value = copy.deepcopy(yaml_value) # Ensure that all the mutations are local to the world for campaign in yaml_value: self.value[campaign] = {}