Hi all.
I'm trying to access an variable with a value from my saved variables, but ESO is complaining that the variable is nil.
This is the line in question:
Lua Code:
if(Imperialization.savedVariables.ConvertOnEquip == true) then
This is executed by a function fired by EVENT_INVENTORY_SINGLE_SLOT_UPDATE.
If this line is not present, references just a few lines down in the same function to other items in my saved variables are picked up just fine. The error also only comes up at login, but not after a ui reload.
I've tried deleting the saved variables .lua file and starting from scratch, but still this issue persists.
Any help would be greatly appreciated!