default value bug
This commit is contained in:
parent
c8550dc38f
commit
a0b073c608
|
@ -44,7 +44,7 @@ end
|
|||
function format_percent(options, number, mult)
|
||||
-- multiply by default
|
||||
local percent = number
|
||||
if mult or true then
|
||||
if mult == nil or mult == true then
|
||||
percent = number * 100
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user