Originally Posted by p3lim
Not sure if you saw or not, it checks the default table, matches it with my savedvariable.
using 'if(v == nil) then' wouldnt result in anything, because nothing in the default table is nil.
again:
Code:
for k, v in next, defaults do
if(type(pMinimapDB[k]) == 'nil') then
...
|
I knew there was I reason I didn't notice that one at first glance :P.
I meant
Code:
pMinimapDB[k] == nil
but anyway theres really no point discussing this I was just being pedantic (which I seem to be doing a lot recently :P).