default texture update ??? idk
This commit is contained in:
parent
e3e1bdac94
commit
e7c5717719
1 changed files with 27 additions and 24 deletions
|
|
@ -166,6 +166,8 @@ namespace PvZ_Fusion_Translator
|
|||
}
|
||||
|
||||
internal static void LoadDefaultTextures()
|
||||
{
|
||||
if(Utils.customTextures)
|
||||
{
|
||||
string textureDefaultDir = Path.Combine(Core.Instance.modsDirectory, AssetType.Dumps.ToString(), "Default Textures [Do Not Remove]");
|
||||
if (!Directory.Exists(textureDefaultDir))
|
||||
|
|
@ -195,6 +197,7 @@ namespace PvZ_Fusion_Translator
|
|||
Log.LogError("Error loading Texture.");
|
||||
Log.LogError(e.GetType() + " " + e.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal static void LoadCustomTextures()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue