切换房间类型的时候 小游戏切换 不用延迟销毁

This commit is contained in:
fengshuo
2022-05-12 20:35:33 +08:00
parent 00cf024636
commit 32bcafaf4a

View File

@@ -798,7 +798,7 @@
- (void)onRoomUpdate {
if (self.hostDelegate.getRoomInfo.type != RoomType_MiniGame) {
self.hidden = YES;
[self destroyMG];
[self.fsmAPP2MG destroyMG];
} else {
self.hidden = NO;
}