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
...