Use correct language when propagating textures

This commit is contained in:
SinZ
2025-12-27 12:15:27 -05:00
committed by Jesse Plamondon-Willard
parent d1099ac8e9
commit 7383dff324
+1 -1
View File
@@ -184,7 +184,7 @@ internal class CoreAssetPropagator
if (newTexture.Value is null)
break;
Texture2D texture = contentManager.LoadLocalized<Texture2D>(name, language, useCache: true);
Texture2D texture = contentManager.LoadLocalized<Texture2D>(name, name.LanguageCode ?? contentManager.Language, useCache: true);
texture.CopyFromTexture(newTexture.Value);
changed = true;
}