diff --git a/main.lua b/main.lua index a752898..60d1a56 100644 --- a/main.lua +++ b/main.lua @@ -51,7 +51,7 @@ rotation = 0 TEXT = "Nuclear Pong" currentKey = " " ptw = 10 -checkrate = 2 +checkrate = 0.5 --CHECKING IF CONTROLS ARE TAKEN danger = "none" danger2 = "none" @@ -1666,7 +1666,7 @@ function checkCurrentServer(dt) if IP ~= address then dserverinit = false print(IP .. " " .. address) end ts = ts + dt - print(ts) + --print(ts) if ts > checkrate then status = "offline" print("sent ping") diff --git a/src/baseGame.lua b/src/baseGame.lua index f333c97..2ba8d43 100644 --- a/src/baseGame.lua +++ b/src/baseGame.lua @@ -688,7 +688,7 @@ function menuDraw() end if gameState == "chooseIP" then IPselect = {} - if status == "offine" then + if status == "offline" then love.graphics.printf("UNABLE TO CONNECT", 0, VIRTUAL_HEIGHT / 2, VIRTUAL_WIDTH, "center") elseif status == "nettest" then table.insert( @@ -708,7 +708,7 @@ function menuDraw() table.insert( IPselect, newButton( - "Guest", + "Connect as Guest", function() globalState = "clienttest" AGAINST_AI = 0