mirror of
https://github.com/ConjureETS/VZ.git
synced 2026-03-24 02:11:15 +00:00
- Fix Team tag bug.
This commit is contained in:
parent
ae2750836d
commit
c9a5226d5f
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user