diff --git a/Assets/Scenes/sam_UI.unity b/Assets/Scenes/sam_UI.unity index 7cc517b..908924a 100644 --- a/Assets/Scenes/sam_UI.unity +++ b/Assets/Scenes/sam_UI.unity @@ -538,6 +538,10 @@ Prefab: propertyPath: TargetCamera value: objectReference: {fileID: 272569012} + - target: {fileID: 11487706, guid: 399d6675ad4fa384096256e051a3e131, type: 2} + propertyPath: TeamTag + value: VampirePlayer + objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 399d6675ad4fa384096256e051a3e131, type: 2} m_IsPrefabParent: 0 diff --git a/Assets/Scripts/Squad.cs b/Assets/Scripts/Squad.cs index 9b9ae8d..70d1524 100644 --- a/Assets/Scripts/Squad.cs +++ b/Assets/Scripts/Squad.cs @@ -151,7 +151,7 @@ public class Squad : Unit } else { - if (Tag.Equals(TagLayerManager.VampirePlayer)) + if (TeamTag.Equals(TagLayerManager.VampirePlayer)) { this.Tag = TagLayerManager.VampirePlayer; // set the tag to player 1 this.Layer = TagLayerManager.VampireLayerIndex;