Module:Sprite: Difference between revisions

m
Initialize your variables
m (Maybe casting type fix the comparison)
m (Initialize your variables)
Line 9: Line 9:


Sprite.aliasData = aliasData
Sprite.aliasData = aliasData
local aliases


local types = {
local types = {
Line 64: Line 65:
error("Unknown type: " .. tostring(type))
error("Unknown type: " .. tostring(type))
end
end
if tostring(type) == "gm4" then
if tostring(type) == "gm4" then
aliases = require( aliasData.gm4Aliases )
aliases = require( aliasData.gm4Aliases )
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits