From ffd09af2d07c3bdcaec06c8d2d9741d6376f848a Mon Sep 17 00:00:00 2001 From: madiwka3 Date: Fri, 7 Aug 2020 16:50:15 +0600 Subject: [PATCH] Experimental Online --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index 73e71e1..cb52693 100644 --- a/main.lua +++ b/main.lua @@ -713,6 +713,8 @@ function love.update(dt) end if globalState == "clienttest" then if confirmation ~= "disconnected" then + if confirmation == "up1" then lastSentKeyP2 = lastSentKeyClient lastSentKeyP1 = lastSentKey else + lastSentKeyP1 = lastSentKeyClient lastSentKeyP2 = lastSentKey end clientsBaseGame(dt) end clienttest(dt)