修正主动退出游戏后, 还是无法进入游戏的bug
This commit is contained in:
parent
39e2e320be
commit
211320ffb9
@ -169,7 +169,7 @@ export async function createRobot(data: any) {
|
|||||||
*/
|
*/
|
||||||
export async function leftGame(accountid: string, roomid: string) {
|
export async function leftGame(accountid: string, roomid: string) {
|
||||||
debugRoom(`player dead and left game: ${roomid}, ${accountid}`)
|
debugRoom(`player dead and left game: ${roomid}, ${accountid}`)
|
||||||
const data = { roomid }
|
const data = { roomid, token: SERVER_TOKEN }
|
||||||
let dataStr = JSON.stringify(data)
|
let dataStr = JSON.stringify(data)
|
||||||
const infoHost = await new Service().getInfoSvr()
|
const infoHost = await new Service().getInfoSvr()
|
||||||
if (!infoHost) {
|
if (!infoHost) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user