From f14f54129075250bae928aef3285dce21582fa37 Mon Sep 17 00:00:00 2001 From: JonyLucas Date: Mon, 3 Oct 2016 18:16:34 -0300 Subject: [PATCH] Fix localism --- Assets/Scripts/Player Manager/GenericPlayerManager.cs | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Assets/Scripts/Player Manager/GenericPlayerManager.cs b/Assets/Scripts/Player Manager/GenericPlayerManager.cs index 3e481ec..17b0a45 100644 --- a/Assets/Scripts/Player Manager/GenericPlayerManager.cs +++ b/Assets/Scripts/Player Manager/GenericPlayerManager.cs @@ -509,19 +509,9 @@ public abstract class GenericPlayerManager : MonoBehaviour { { WWW www = null; - // Função loadAssetBundle é definida pela classe filha - if (!this.regionPath.Equals("")) - { - string aniNameReg = regionPath + @"\" + aniName; - www = loadAssetBundle(aniNameReg); - if (www != null) yield return null; - } - - if (this.regionPath.Equals("") || www.error != null) - { - www = loadAssetBundle(aniName); - if (www != null) yield return null; - } + string aniNameReg = regionPath + @"\" + aniName; + www = loadAssetBundle(aniNameReg); + if (www != null) yield return null; if (www.error == null) { -- libgit2 0.21.2