Skip to content

Commit

Permalink
Merge pull request Ziktofel#199 from EnvyDragon/typo-fix
Browse files Browse the repository at this point in the history
SC2: Fixing typo in compatibility function
  • Loading branch information
Ziktofel authored May 17, 2024
2 parents 23ed9e6 + dfacbf4 commit 9805ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sc2/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def caclulate_soa_options(ctx: SC2Context) -> int:
elif ctx.spear_of_adun_autonomously_cast_ability_presence == SpearOfAdunAutonomouslyCastAbilityPresence.option_everywhere:
soa_autocasts_presence_value = 3
# Guardian Shell breaks without SoA on version 4+, but can be generated without SoA on version 3
if ctx.slow_data_version < 4 and soa_autocasts_presence_value < 2:
if ctx.slot_data_version < 4 and soa_autocasts_presence_value < 2:
soa_autocasts_presence_value = 2
options |= soa_autocasts_presence_value << 3

Expand Down

0 comments on commit 9805ea2

Please sign in to comment.