mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update OWAssetHandler.cs
This commit is contained in:
parent
d1f33eb336
commit
cb64ea3458
@ -37,6 +37,7 @@ namespace NewHorizons.Handlers
|
||||
|
||||
if (_materialCache == null) _materialCache = new Dictionary<Material, string>();
|
||||
|
||||
// Gonna assume that if theres more than one material its probably in the same asset bundle anyway right
|
||||
if (_materialCache.TryGetValue(materials[0], out assetBundle))
|
||||
{
|
||||
assetBundles.Add(assetBundle);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user