player display fix
This commit is contained in:
parent
526bd0ecaf
commit
448858e594
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function game() {
|
||||||
player.update(maps[player.z].squares, maps[player.z].circles, dt);
|
player.update(maps[player.z].squares, maps[player.z].circles, dt);
|
||||||
players.forEach((p)=>{
|
players.forEach((p)=>{
|
||||||
if(p.z>=0) {
|
if(p.z>=0) {
|
||||||
p.update(maps[p.z].squares,maps[p.z].circles);
|
p.update(maps[p.z].squares,maps[p.z].circles, dt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue