Property Panel Refresh Hotfix
This commit is contained in:
parent
991d411c91
commit
cbebc78af1
3 changed files with 3 additions and 1 deletions
|
|
@ -305,6 +305,7 @@ public class StrategyGameManager : MonoBehaviour
|
|||
if (_currentTab == ColonyTabButton)
|
||||
{
|
||||
PropertiesPanel.Clear();
|
||||
PropertiesPanel.RemoveListener();
|
||||
ColonyTab.Open(_selectedColony);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public class PropertiesPanel : MonoBehaviour
|
|||
|
||||
public void Clear()
|
||||
{
|
||||
RemoveListener();
|
||||
//RemoveListener();
|
||||
foreach(var property in Properties)
|
||||
Destroy(property);
|
||||
Properties.Clear();
|
||||
|
|
|
|||
Loading…
Reference in a new issue