ILLISIS / Constructron-Continued

Other
13 stars 21 forks source link

Fix case where job was indexed as a number when it should have been nil #123

Closed Ferlonas closed 1 year ago

Ferlonas commented 1 year ago

Original error when calling /ctron reset all

Error while running command "ctron": __Constructron-Continued__/script/pathfinder.lua:48: attempt to index local 'job' (a number value)
stack traceback:
    __Constructron-Continued__/script/pathfinder.lua:48: in function 'init_path_request'
    __Constructron-Continued__/script/command_functions.lua:185: in function 'recall_ctrons'
    __Constructron-Continued__/control.lua:115: in function '?'
    __Constructron-Continued__/control.lua:324: in function <__Constructron-Continued__/control.lua:317>
ILLISIS commented 1 year ago

Hi Thanks but this is already fixed in the next release. The underscore was added to fix an annotation warning.