|
|
|
@ -198,7 +198,7 @@ public class GameLoader : MonoBehaviour { |
|
|
|
pileEntry.tab.SetActive(value.Visible); |
|
|
|
pileEntry.gameObject.SetActive(value.Visible); |
|
|
|
} |
|
|
|
if(instance.firstReload && instance.pileTabs.GetComponentInChildren<Button>() != null) instance.pileTabs.GetComponentInChildren<Button>().onClick.Invoke(); |
|
|
|
if((instance.firstReload && instance.pileTabs.GetComponentInChildren<Button>() != null) || instance.pileTabs.GetComponentsInChildren<Button>().Length == 1) instance.pileTabs.GetComponentInChildren<Button>().onClick.Invoke(); |
|
|
|
|
|
|
|
// Hardcoded values for pile gameobjects
|
|
|
|
piles = instance.conn.GetCommonPiles(); |
|
|
|
|