File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -966,8 +966,8 @@ def kerrigan_primal(ctx: SC2Context, kerrigan_level: int) -> bool:
966
966
return kerrigan_level >= 35
967
967
elif ctx .kerrigan_primal_status == KerriganPrimalStatus .option_half_completion :
968
968
total_missions = len (ctx .mission_id_to_location_ids )
969
- completed = len ([ (mission_id * VICTORY_MODULO + get_location_offset (mission_id )) in ctx .checked_locations
970
- for mission_id in ctx .mission_id_to_location_ids ] )
969
+ completed = sum ( (mission_id * VICTORY_MODULO + get_location_offset (mission_id )) in ctx .checked_locations
970
+ for mission_id in ctx .mission_id_to_location_ids )
971
971
return completed >= (total_missions / 2 )
972
972
elif ctx .kerrigan_primal_status == KerriganPrimalStatus .option_item :
973
973
codes = [item .item for item in ctx .items_received ]
You can’t perform that action at this time.
0 commit comments