private void StopChangeHPMPToClient(string[] msg)
 {
     if (NotInClientScene())
     {
         HUDDisplay hpAndMp = GameObject.FindObjectOfType <LevelManager>().hpAndMp;
         hpAndMp.StopLocalParticles(); // Only stop local particles
     }
 }
    private void StopChangeHPMPToClient(string[] msg)
    {
        Scene currentScene = SceneManager.GetActiveScene();

        if (currentScene.name == "ClientScene")
        {
            return;
        }
        HUDDisplay hpAndMp = GameObject.FindObjectOfType <LevelManager>().hpAndMp;

        hpAndMp.StopLocalParticles(); // Only stop local particles
    }