fix being able to hit teammates

item-info
John Montagu, the 4th Earl of Sandvich 2023-03-19 16:17:33 -07:00
parent 613f476cb1
commit 2c73590018
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace SupaLidlGame.BoundingBoxes
public override void _Ready() public override void _Ready()
{ {
if (Faction == default && GetParent() is IFaction factionEntity) if (GetParent() is IFaction factionEntity)
{ {
Faction = factionEntity.Faction; Faction = factionEntity.Faction;
} }