mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
still level loader bug (only allowed square sized maps)
This commit is contained in:
parent
d975792ebd
commit
b3ee560c02
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ define([
|
||||||
r: parseInt(tileType[1], 10),
|
r: parseInt(tileType[1], 10),
|
||||||
t: imagePath,
|
t: imagePath,
|
||||||
x: i % options.width,
|
x: i % options.width,
|
||||||
y: parseInt(i / options.height , 10)
|
y: parseInt(i / options.width , 10)
|
||||||
}
|
}
|
||||||
|
|
||||||
tilesOptions.push(tileOptions);
|
tilesOptions.push(tileOptions);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue