mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
Use correct language when propagating textures
This commit is contained in:
committed by
Jesse Plamondon-Willard
parent
d1099ac8e9
commit
7383dff324
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user