Browse Source

1.演练开始后导调组退出主场景返回角色选择后没有重置开始演练的变量导致再创建房间进入演练后点击开始变成结束演练

2.力量调派输入框提示信息有误
develop
曹衍涛 4 years ago
parent
commit
ef49aea50b
  1. 2781
      Assets/Prefabs/Common/CommandCenter/ShowItem1.prefab
  2. 4
      Assets/Scripts/DongYouLiQing/LeadGroup/ExitDrillButton.cs

2781
Assets/Prefabs/Common/CommandCenter/ShowItem1.prefab

File diff suppressed because it is too large Load Diff

4
Assets/Scripts/DongYouLiQing/LeadGroup/ExitDrillButton.cs

@ -37,6 +37,10 @@ public class ExitDrillButton : BaseButton
},
TargetScene = GoTo.RolesSelection,
};
if (CurrentUserInfo.mySelf.Id==CurrentUserInfo.room.Owner.UserInfo.Id)
{
GameSettings.othersSettings.isStartDrill = false;
}
UserData user = CurrentUserInfo.room.FindUserById(CurrentUserInfo.mySelf.Id);
user.IsReady = false;
CurrentUserInfo.room = null;

Loading…
Cancel
Save