summaryrefslogtreecommitdiff
path: root/server/server.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.lua')
-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