You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Friends of mine sometimes got a crash due to a lua error in control.lua:83: attempt to index field 'personalsets' (is a nil value).
The error occurs inside the function script.on_event("autofill-toggle-limits", function(event) in the line:
local afplayer = global.personalsets[player.name]
They hacked around this by adding a check right before that line:
ifglobal.personalsets==niltheninitMod(true)
end
.. but I'm sure there is a better way to fix it.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Crash due to lua error in control.lua:118: attempt to index field 'personalsets' (is a nil value)
Crash due to lua error in control.lua:83: attempt to index field 'personalsets' (is a nil value)
Feb 8, 2017
Thanks for the heads up. Your fix should have no ill-effects. I am currently working on Autofill 2.0 so I probably won't push an official fix for this unless I get more reports.
Friends of mine sometimes got a crash due to a lua error in control.lua:83: attempt to index field 'personalsets' (is a nil value).
The error occurs inside the function
script.on_event("autofill-toggle-limits", function(event)
in the line:They hacked around this by adding a check right before that line:
.. but I'm sure there is a better way to fix it.
The text was updated successfully, but these errors were encountered: