still level loader bug (only allowed square sized maps)

This commit is contained in:
logsol 2015-03-12 19:56:14 +01:00
parent d975792ebd
commit b3ee560c02

View file

@ -136,7 +136,7 @@ define([
r: parseInt(tileType[1], 10),
t: imagePath,
x: i % options.width,
y: parseInt(i / options.height , 10)
y: parseInt(i / options.width , 10)
}
tilesOptions.push(tileOptions);