From b0706e77790d7fffea30d67a063e855c8a39ad05 Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Sun, 12 Apr 2020 11:19:34 -0400 Subject: [PATCH] Set it so you can't start a battle until at least 1 party member is picked --- Assets/Scripts/GMScript.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/GMScript.cs b/Assets/Scripts/GMScript.cs index c997032..7796c3a 100644 --- a/Assets/Scripts/GMScript.cs +++ b/Assets/Scripts/GMScript.cs @@ -124,7 +124,7 @@ public class GMScript : MonoBehaviour OutputParty(); } - if(hit.collider.gameObject.tag == "Attack") + if(hit.collider.gameObject.tag == "Attack" && PartyMemberOrder[0] != null) { StartCoroutine(AttackParty(robotColour));