Creating a new bar while editing bars throws an null exception. Probably because the bar has no overlay, now that overlays are created dynamically. same deal when the overlays try to clean themselves up
How to reproduce:
left click minimap icon
choose a new bar type (cast bar was my choice)
error!
close dialog
error!
Lua error log:
1x Neuron/Overlay/BarEditor.lua:215: attempt to index local 'overlay' (a nil value)
[string "@Neuron/Overlay/BarEditor.lua"]:215: in function `activate'
[string "@Neuron/Objects/Bar.lua"]:303: in function `ChangeSelectedBar'
[string "@Neuron/Objects/Bar.lua"]:167: in function `CreateNewBar'
[string "@Neuron/GUI/BarEditTab.lua"]:96: in function <Neuron/GUI/BarEditTab.lua:96>
[string "=[C]"]: ?
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <0ViragDevTool/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-Button.lua"]:22: in function <...Tool/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>
3x Neuron/Objects/StatusButton.lua:337: attempt to call method 'cFunc' (a nil value)
[string "@Neuron/Objects/StatusButton.lua"]:337: in function `UpdateStatus'
[string "@Neuron/Objects/Bar.lua"]:1320: in function `UpdateObjectStatus'
[string "@Neuron/Neuron.lua"]:411: in function `ToggleBarEditMode'
[string "@Neuron/GUI/MainWindow.lua"]:79: in function `DestroyEditor'
[string "@Neuron/GUI/MainWindow.lua"]:59: in function <Neuron/GUI/MainWindow.lua:59>
[string "=[C]"]: ?
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <0ViragDevTool/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/widgets/AceGUIContainer-Frame.lua"]:29: in function <...ol/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:28>
[string "=[C]"]: in function `Hide'
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/widgets/AceGUIContainer-Frame.lua"]:125: in function `Hide'
[string "@0ViragDevTool/Libs/AceGUI-3.0-41/widgets/AceGUIContainer-Frame.lua"]:21: in function <...ol/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:19>
Issue description:
Creating a new bar while editing bars throws an null exception. Probably because the bar has no overlay, now that overlays are created dynamically. same deal when the overlays try to clean themselves up
How to reproduce:
Lua error log: