File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ sed -E -i '' "$SED_COMMAND" src/Modules/BuildSiteTools.lua
1919# Do not remove SSL for LaunchInstall and Update as that's more sensitive, but
2020# also unused.
2121
22+ # Add nil checks for grantedEffect. Without it, we got an error on 2023-12-18:
23+ # "Error loading main script: Data/Uniques/Special/Generated.lua:239 attempt
24+ # to index local 'grantedEffect' (a nil value)
25+ # ModParser.lua got a similar error
26+ sed -i ' ' ' s/if grantedEffect.support/if grantedEffect ~= nil and grantedEffect.support/' src/Data/Uniques/Special/Generated.lua
27+ sed -i ' ' ' s/if not grantedEffect.hidden/if grantedEffect ~= nil and not grantedEffect.hidden/' src/Modules/ModParser.lua
28+
2229# Run remaining setup
2330unzip runtime-win32.zip lua/xml.lua lua/base64.lua lua/sha1.lua
2431mv lua/* .lua .
You can’t perform that action at this time.
0 commit comments