From 448858e5941759f770e35f8130401c13779f1982 Mon Sep 17 00:00:00 2001 From: Killian Marty Date: Tue, 26 Dec 2023 14:51:34 +0100 Subject: [PATCH] player display fix --- public_html/js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } });