Originally Posted by Slakah
according to the error you provided (attempt to index field 'Melee' (a number value)). tdPlayer[<playerguid>].ods.Melee is a number value instead of a table, and after looking at your code I have no idea why this would happen other than people manually changing the SVs or a previous version of your mod saved tdPlayer[<playerguid>].ods.Melee as a number and has remained like that ever since.
|
I looked through the code too and saw nothing that could cause that error and I agree with what Slakah stated for possible causes. I suggest having anyone with that issue manually reset their settings via the drop-down menu.