Module:Sprite: Difference between revisions

m
Maybe casting type fix the comparison
m (Maybe it's loadData?)
m (Maybe casting type fix the comparison)
Line 64: Line 64:
error("Unknown type: " .. tostring(type))
error("Unknown type: " .. tostring(type))
end
end
 
if type == "gm4" then
if tostring(type) == "gm4" then
aliases = require( aliasData.gm4Aliases )
aliases = require( aliasData.gm4Aliases )
else
else
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits