We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64b6f00 commit ba423ffCopy full SHA for ba423ff
2 files changed
CustomPortRifts/Patches/TextureLoaderPatch.cs
@@ -22,7 +22,7 @@ public static bool LoadTextureAsync(string url, TextureLoader __instance, ref Ta
22
23
async Task<TextureLoader.LoadedImage> Wrapper() {
24
var tcs = new TaskCompletionSource<TextureLoader.LoadedImage>();
25
- __instance._cache.Add(url, tcs.Task);
+ __instance._cache.Add(url, new(tcs.Task));
26
27
using UnityWebRequest webRequest = UnityWebRequestTexture.GetTexture(url, nonReadable: true);
28
UnityWebRequestAsyncOperation response = webRequest.SendWebRequest();
CustomPortRifts/lib/RiftOfTheNecroDancer.dll
48 KB
0 commit comments