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, 0 insertions, 2 deletions
diff --git a/server/server.lua b/server/server.lua
index a6fd42b..8a725af 100644
--- a/server/server.lua
+++ b/server/server.lua
@@ -19,8 +19,6 @@ print(host:get_socket_address())
-- sequential list of all players
local playerlist = {}
--- this is maybe suboptimal
--- but it is simplest for now
local function player_by_id(id)
for i,pl in ipairs(playerlist) do
if pl.id == id then return pl, i end