Set it so you can't start a battle until at least 1 party member is picked

This commit is contained in:
Gregory Campbell
2020-04-12 11:19:34 -04:00
parent cd153ee5c6
commit b0706e7779
+1 -1
View File
@@ -124,7 +124,7 @@ public class GMScript : MonoBehaviour
OutputParty(); OutputParty();
} }
if(hit.collider.gameObject.tag == "Attack") if(hit.collider.gameObject.tag == "Attack" && PartyMemberOrder[0] != null)
{ {
StartCoroutine(AttackParty(robotColour)); StartCoroutine(AttackParty(robotColour));