|
|
@@ -120,7 +120,8 @@ public class MoveCharacter : Character
|
|
|
if(outline1Mats.Length == 0)
|
|
|
{
|
|
|
Transform particleSystem = bodyTrans.GetChild(1).GetChild(0);
|
|
|
- if (particleSystem == null && particleSystem.name != "Particle System")
|
|
|
+ if (particleSystem == null ||
|
|
|
+ ( particleSystem != null && particleSystem.name != "Particle System"))
|
|
|
{
|
|
|
return;
|
|
|
}
|