网战失去连接会自动退出

This commit is contained in:
MrZ626
2021-02-11 01:26:52 +08:00
parent e6cea306c1
commit b41136047c

View File

@@ -263,6 +263,7 @@ function scene.update(dt)
local _
local GAME=GAME
if not WSCONN and not SCN.swapping then SCN.back()end
if not playing then
heartBeatTimer=heartBeatTimer+dt
if heartBeatTimer>42 then