Originally Posted by myrroddin
Code:
TSMSC_DB.isShown = TSMSC_DB.isShown or true
|
This is forcing
TSMSC_DB.isShown to
true if it's
false/
nil right after you load your saved variable. If you're trying to set a default, you need to check for
nil specifically.