diff options
Diffstat (limited to 'Assets/Scripts')
-rw-r--r-- | Assets/Scripts/Effects/CharacterGhostEffect.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Effects/CharacterGhostEffect.cs b/Assets/Scripts/Effects/CharacterGhostEffect.cs index d40adc17..d422c0a7 100644 --- a/Assets/Scripts/Effects/CharacterGhostEffect.cs +++ b/Assets/Scripts/Effects/CharacterGhostEffect.cs @@ -103,7 +103,7 @@ public class CharacterGhostEffect : EffectHandler if (SubmeshShareMaterial) material = Materials[0]; else - material = Materials[j]; + material = Materials[j - start]; Graphics.DrawMesh(ghost.mesh, ghost.matrix, material, gameObject.layer, null, j); } } |