ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
24 stars 14 forks source link

Fixed Asset Loading #77

Closed Destructor-Ben closed 1 year ago

Destructor-Ben commented 1 year ago

When loading assets, if a mod has modified TextureAssets, then when the texture is being loaded by DragonLens, an error will be thrown because the asset can't be found in the vanilla AssetRepository. Fixed by first checking if the asset isn't loading, which is what vanilla does.