Skip to content

Commit

Permalink
Fix fire mesh trails layers for non-owner players
Browse files Browse the repository at this point in the history
  • Loading branch information
Fueredoriku committed May 26, 2024
1 parent 016943d commit 436d0bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/Augment/AugmentImplementations/Fire.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private void ApplyTrails(float distance, ref ProjectileState state)
switch (projectileType)
{
case ProjectileType.Mesh:
fireTrailInstances.gameObject.layer = 0;
var count = 0;
trackedProjectiles.RemoveWhere(projectile => projectile.active == false);
foreach (var projectile in trackedProjectiles)
Expand Down

0 comments on commit 436d0bc

Please sign in to comment.