diff --git a/public_html/js/game.js b/public_html/js/game.js index fda43bb..873b336 100644 --- a/public_html/js/game.js +++ b/public_html/js/game.js @@ -8,7 +8,7 @@ function game() { player.update(maps[player.z].squares, maps[player.z].circles, dt); players.forEach((p)=>{ 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); } });