[00:24:52]: [string "scripts/components/playeractionpicker.lua"]:437: attempt to index local 'position' (a nil value)
LUA ERROR stack traceback:
scripts/components/playeractionpicker.lua:437 in (upvalue) old_DoGetMouseActions (Lua) <415-475>
self =
actionfilterstack = table: 000000003FC156B0
inst = 100173 - wendy (valid:true)
disable_right_click = false
DoGetMouseActions = function - ../mods/workshop-1835465557/modmain.lua:222
containers = table: 000000003FC15E30
actionfilter = function - scripts/prefabs/player_common.lua:864
map = Map (00000000401886A0)
position = nil
target = nil
spellbook = nil
isaoetargeting = false
wantsaoetargeting = false
cansee = nil
Because isaoetargeting = false, that mean position = TheInput:GetWorldPosition(), and at line 437 position still nil, does that mean GetWorldPosition can return nil?
DoGetMouseActions get called from mod this time, but it seem possible to call it when TheInput:GetWorldPosition() return nil.
Use alt + tab in window. Rarely happen but does happen.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now