Commit 20754939 authored by Ktulho's avatar Ktulho 👶🏻

fix "inHangarFilterEnabled" parameter

parent 49a2ff37
......@@ -46,6 +46,8 @@ package com.xvm.lobby.ui.profile
super.onDispose();
}
private var isFirstHangarSelected: Boolean = true;
override public function as_setInitData(param1:Object):void
{
try
......@@ -53,7 +55,11 @@ package com.xvm.lobby.ui.profile
if (technique)
{
technique.fixInitData(param1);
param1.isInHangarSelected = Config.config.userInfo.inHangarFilterEnabled;
if (isFirstHangarSelected)
{
param1.isInHangarSelected = Config.config.userInfo.inHangarFilterEnabled;
isFirstHangarSelected = false;
}
}
}
catch (ex:Error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment