fix: auto-reload player resources at load

This commit is contained in:
goaaats 2021-01-08 20:38:36 +01:00 committed by GitHub
parent 8adeab1ba5
commit f1d8ce0221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,10 @@ namespace Penumbra
ResourceLoader.Init();
ResourceLoader.Enable();
// Needed to reload body textures with mods
GameUtils.ReloadPlayerResources();
SettingsInterface = new SettingsInterface( this );
PluginInterface.UiBuilder.OnBuildUi += SettingsInterface.Draw;
@ -91,4 +94,4 @@ namespace Penumbra
SettingsInterface.Visible = !SettingsInterface.Visible;
}
}
}
}