Fix typo for tileset. thanks to Andre Novellino Gouvêa
This commit is contained in:
parent
f57e7edf11
commit
49c60110f9
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ void CTileset::parse(lua_State *l)
|
|||
} else if (!strcmp(value, "image")) {
|
||||
this->ImageFile = LuaToString(l, j);
|
||||
} else if (!strcmp(value, "size")) {
|
||||
CclGetPos(l, &this->pixelTileSize.x, &this->pixelTileSize.x, j);
|
||||
CclGetPos(l, &this->pixelTileSize.x, &this->pixelTileSize.y, j);
|
||||
} else if (!strcmp(value, "slots")) {
|
||||
if (!lua_istable(l, j)) {
|
||||
LuaError(l, "incorrect argument");
|
||||
|
|
Loading…
Reference in a new issue