diff --git a/Assets/Temp/Scripts/View_Panel2.cs b/Assets/Temp/Scripts/View_Panel2.cs index b90dadf6..1c56ff5a 100644 --- a/Assets/Temp/Scripts/View_Panel2.cs +++ b/Assets/Temp/Scripts/View_Panel2.cs @@ -725,6 +725,7 @@ public class View_Panel2 : XUIPanel { submitInstruct.text = "ζδΊ€ζε"; GlobalFlag.practiceSeatId = practiceSeatId; + Debug.LogError(GlobalFlag.practiceSeatId); } else { diff --git a/Assets/Zion/Scripts/Adam/UIBootstrap.cs b/Assets/Zion/Scripts/Adam/UIBootstrap.cs index 2f64900f..9002f6a7 100644 --- a/Assets/Zion/Scripts/Adam/UIBootstrap.cs +++ b/Assets/Zion/Scripts/Adam/UIBootstrap.cs @@ -46,7 +46,7 @@ public class UIBootstrap : MonoSingleton<UIBootstrap> { for (int i = 0; i < subjectInfo.Count; i++) { - if (subjectInfo[i].Id == practiceID) + if (subjectInfo[i].Id == practiceID&& subjectInfo[i].UserName == GlobalFlag.currentUser.real_name) { return subjectInfo[i].Role; }