Various DT fixes

This commit is contained in:
Dean Sheather
2024-07-02 19:56:55 +10:00
parent 604a2cb482
commit 1f8cffbeff
2 changed files with 28 additions and 39 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ internal class TextureCache : IDisposable
if (dict.ContainsKey((icon, hq)))
return;
var tex = Plugin.TextureProvider.GetFromGameIcon(new GameIconLookup(icon, hq)).GetWrapOrDefault();
var tex = Plugin.TextureProvider.GetFromGameIcon(new GameIconLookup(icon, hq)).RentAsync().Result;
if (tex != null)
dict[(icon, hq)] = tex;
}