Editing Module:Param Parse
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 460: | Line 460: | ||
end |
end |
||
function parse.difficulty_smw(val) |
function parse.difficulty_smw(val) |
||
if val == 'N/A' then |
|||
return -1 |
|||
end |
|||
val = tonumber(val) -- Intentionally do not use parse.tonumber here |
val = tonumber(val) -- Intentionally do not use parse.tonumber here |
||
if val == nil then |
if val == nil then |