修改房间准备状态变量修改条件,减少出现问题状态的可能性

This commit is contained in:
MrZ626
2021-06-24 14:26:14 +08:00
parent 096f162ea6
commit 36a30a6318
3 changed files with 15 additions and 18 deletions

View File

@@ -287,13 +287,13 @@ function scene.draw()
--Ready & Set mark
setFont(50)
if NET.allReady then
if NET.roomReadyState=='allReady'then
gc_setColor(0,1,.5,.9)
mStr(text.ready,640,15)
elseif NET.connectingStream then
elseif NET.roomReadyState=='connecting'then
gc_setColor(.1,1,.8,.9)
mStr(text.connStream,640,15)
elseif NET.waitingStream then
elseif NET.roomReadyState=='waitConn'then
gc_setColor(0,.8,1,.9)
mStr(text.waitStream,640,15)
end