summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-23 11:53:10 +0000
committerubq323 <ubq323@ubq323.website>2023-02-25 01:51:36 +0000
commit41a7a40ecf71613c6cb3f7823491c45d9c9c63e0 (patch)
tree737c9955ef433642d3fcfc45bd3ce8c0bb3041fd /server
parent447f46c1710f507622306a338cc8c82b1ce3aa5c (diff)
implement new rendering system using gpu instancing
this has extremely better performance on my machine also, player is circle now
Diffstat (limited to 'server')
-rw-r--r--server/server.lua2
1 files changed, 1 insertions, 1 deletions
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