From a58631e1c7c7f438ae6b0e90ad45faec036429d4 Mon Sep 17 00:00:00 2001 From: EnvyDragon <138727357+EnvyDragon@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:21:44 -0500 Subject: [PATCH] screw it, campaign size option --- worlds/sc2/options.py | 2 +- worlds/sc2/test/test_options.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/worlds/sc2/options.py b/worlds/sc2/options.py index ce0f9c1676ae..31d9d0362504 100644 --- a/worlds/sc2/options.py +++ b/worlds/sc2/options.py @@ -152,7 +152,7 @@ class MaximumCampaignSize(Range): """ display_name = "Maximum Campaign Size" range_start = 1 - range_end = 147 + range_end = len(SC2Mission) default = 83 diff --git a/worlds/sc2/test/test_options.py b/worlds/sc2/test/test_options.py index fb10f020c084..a2f766d92885 100644 --- a/worlds/sc2/test/test_options.py +++ b/worlds/sc2/test/test_options.py @@ -1,13 +1,11 @@ import unittest from typing import Set, Dict, List -from .. import mission_tables, options +from .. import options from ..item import item_tables class TestOptions(unittest.TestCase): - def test_campaign_size_option_max_matches_number_of_missions(self) -> None: - self.assertEqual(options.MaximumCampaignSize.range_end, len(mission_tables.SC2Mission)) def test_unit_max_upgrades_matching_items(self) -> None: base_items: Set[str] = {