From 9aa853dfd4aab2cd9aace18efec8c97fa43f3b96 Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Sun, 12 Apr 2020 14:50:12 -0400 Subject: [PATCH] Fixed bug where kill sequence could still move forward even if team shield was up --- 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 185651a..696dd2a 100644 --- a/Assets/Scripts/GMScript.cs +++ b/Assets/Scripts/GMScript.cs @@ -473,7 +473,7 @@ public class GMScript : MonoBehaviour // DETERMINING A SEQUENCE BREAK ABSED ON THE NEXT COLOUR IN THE SEQUENCE // IF IT'S THE LAST COLOUR THE ROBOT IS DESTROYED // IF NOT COLOURS AND SPRITES AND CHANGED ACCORDINGLY - if(ColourCompare(partyMember, (Colours)EnemyKillSequence[0]) > 0) + if(ColourCompare(partyMember, (Colours)EnemyKillSequence[0]) > 0 && !sheild) { print("Weakness hit!");