Module:Sprite: Difference between revisions
Jump to navigation
Jump to search
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 |