Module:HeroData/nav: Difference between revisions

No edit summary
made hero labs default as false
Line 25: Line 25:
         debug_mode = false
         debug_mode = false
     end
     end
 
   
     if in_herolabs ~= 'true' and in_herolabs ~= 'false' then
    -- Turn in_herolabs from string to bool, default to false
         return 'in_herolabs must be either true or false'
     if in_herolabs == nil then
        in_herolabs = false
    elseif in_herolabs == 'true' then
        in_herolabs = true
    elseif in_herolabs == 'false' then
         in_herolabs = false
     end
     end