From ab879df6409701ece1b9b3c8b43348ea85951294 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 4 Feb 2023 23:47:15 +0000 Subject: remove a print statement --- client/main.lua | 4 ++-- server/server.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/main.lua b/client/main.lua index 769fccf..f52e8c6 100644 --- a/client/main.lua +++ b/client/main.lua @@ -1,8 +1,8 @@ local enet = require"enet" local json = require"common.dkjson" --- local SERVER_HOSTNAME = "ubq323.website" -local SERVER_HOSTNAME = "localhost" +local SERVER_HOSTNAME = "ubq323.website" +-- local SERVER_HOSTNAME = "localhost" local PLAYER_SIZE = 0.7 local local_player = nil diff --git a/server/server.lua b/server/server.lua index f11b805..3bb0951 100644 --- a/server/server.lua +++ b/server/server.lua @@ -117,7 +117,7 @@ while true do elseif op == "settile" then local h = coords.Hex:make(j.q,j.r) map:set_at(h,j.tile) - print(player.id,"settile",h,j.tile) + -- print(player.id,"settile",h,j.tile) for i,otherplayer in ipairs(playerlist) do if otherplayer ~= player then -- same packet structure s2c as c2s -- cgit v1.2.3