diff options
author | ubq323 <ubq323@ubq323.website> | 2023-02-04 23:47:15 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-02-04 23:47:15 +0000 |
commit | ab879df6409701ece1b9b3c8b43348ea85951294 (patch) | |
tree | a881ca638ea96e5f107103743b7475c8a1d9b509 | |
parent | d4fcc9c1767834fadc217abfdfe810ef80e1ef16 (diff) |
remove a print statement
-rw-r--r-- | client/main.lua | 4 | ||||
-rw-r--r-- | 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 |