From 41a7a40ecf71613c6cb3f7823491c45d9c9c63e0 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 23 Feb 2023 11:53:10 +0000 Subject: implement new rendering system using gpu instancing this has extremely better performance on my machine also, player is circle now --- server/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/server.lua b/server/server.lua index f78bdd0..03a5fd9 100644 --- a/server/server.lua +++ b/server/server.lua @@ -103,7 +103,7 @@ local function handle_ev(ev) -- print(player.id,"-->",player.pos[1],player.pos[2]) for i,otherplayer in ipairs(playerlist) do if otherplayer ~= player then - otherplayer.peer:send(player_move_packet(player,x,y)) + otherplayer.peer:send(player_move_packet(player,x,y),1) end end elseif op == "settile" then -- cgit v1.2.3