New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luaerror in unit_proximity_targetting #4704
Comments
So there's a unit which is in line of sight but has a nil position coordinate? 🤯 |
here is the error from my log: [t=02:28:47.772173][f=0046596] [Game::ClientReadNet][LOGMSG] sender="Xamoguitar" string="[Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_proximity_targetting...."]:55: attempt to perform arithmetic on local 'x2' (a nil value) |
[t=00:32:35.715537][f=0063510] [Game::ClientReadNet][LOGMSG] sender="hoaqhieu08" string="[Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_proximity_targetting...."]:55: attempt to perform arithmetic on local 'x2' (a nil value)
stack traceback:
[string "LuaRules/Gadgets/unit_proximity_targetting...."]:55: in function 'DistanceSq'
[string "LuaRules/Gadgets/unit_proximity_targetting...."]:79: in function 'GetTargetToClosest'
[string "LuaRules/Gadgets/unit_proximity_targetting...."]:122: in function 'funcToApply'
[string "LuaRules/Gadgets/Include/IterableMap.lua"]:131: in function 'Apply'
[string "LuaRules/Gadgets/unit_proximity_targetting...."]:169: in function 'GameFrame'
[string "LuaRules/gadgets.lua"]:967: in function <[string "LuaRules/gadgets.lua"]:965>
(tail call): ?"
See: https://zero-k.info/Battles/Detail/1376633 (I believe this is related to the recent starlight targeting pr)
The text was updated successfully, but these errors were encountered: