From 436d0bcd750ece2a3e274b2cd32ff4c781578930 Mon Sep 17 00:00:00 2001 From: Fredrik Lillemoen Eiding Date: Mon, 27 May 2024 00:23:17 +0200 Subject: [PATCH] Fix fire mesh trails layers for non-owner players --- Assets/Scripts/Augment/AugmentImplementations/Fire.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Augment/AugmentImplementations/Fire.cs b/Assets/Scripts/Augment/AugmentImplementations/Fire.cs index 8c56ce9f6..af95bcad5 100644 --- a/Assets/Scripts/Augment/AugmentImplementations/Fire.cs +++ b/Assets/Scripts/Augment/AugmentImplementations/Fire.cs @@ -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)