fix being able to hit teammates
parent
613f476cb1
commit
2c73590018
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue