Module:HeroData/nav: Difference between revisions

made hero labs default as false
Undo revision 71849 by Gammaton32 (talk)
Tag: Undo
Line 25: Line 25:
         debug_mode = false
         debug_mode = false
     end
     end
   
 
    -- Turn in_herolabs from string to bool, default to false
     if in_herolabs ~= 'true' and in_herolabs ~= 'false' then
     if in_herolabs == nil then
         return 'in_herolabs must be either true or false'
        in_herolabs = false
    elseif in_herolabs == 'true' then
        in_herolabs = true
    elseif in_herolabs == 'false' then
         in_herolabs = false
     end
     end