From 3102095c9ff4939dfc0438339c7208ee7b2e2957 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 26 Aug 2023 06:23:34 +0100 Subject: print usernames better, and respond to remote players usernames --- server/server.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'server') 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 -- cgit v1.2.3