|
@@ -67,8 +67,11 @@ namespace GFGGame
|
|
|
msgDic[_all].Add(msg);
|
|
|
msgDic[_error].Add(msg);
|
|
|
|
|
|
- _btnLog.m_c1.selectedIndex = 1;
|
|
|
- _btnLog.target.alpha = 1;
|
|
|
+ if(_btnLog != null)
|
|
|
+ {
|
|
|
+ _btnLog.m_c1.selectedIndex = 1;
|
|
|
+ _btnLog.target.alpha = 1;
|
|
|
+ }
|
|
|
if (LauncherConfig.netType == EnumNetType.LOCAL)
|
|
|
{
|
|
|
this.SetBtnLogVisable(true);
|