Skip to content

Commit

Permalink
id instead of value
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Nov 25, 2024
1 parent 91465dd commit b697f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sc2/MissionTables.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, campaign_id: int, name: str, goal_priority: SC2CampaignGoalPr
self.race = race

def __lt__(self, other: "SC2Campaign"):
return self.value < other.value
return self.id < other.id

GLOBAL = 0, "Global", SC2CampaignGoalPriority.NONE, SC2Race.ANY
WOL = 1, "Wings of Liberty", SC2CampaignGoalPriority.VERY_HARD, SC2Race.TERRAN
Expand Down

0 comments on commit b697f87

Please sign in to comment.