Skip to content

Commit

Permalink
Woops, that brokey
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-sys committed Aug 16, 2022
1 parent 456ecf7 commit 7e33900
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VRCPlates/NameplateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ private static IEnumerator ImageRequestLoop()
}
else
{
var tex = ((DownloadHandlerTexture) uwr.downloadHandler).texture;
_imageCache?.Add(pair.Key, tex);
foreach (var im in pair.Value)
{
im.texture = ((DownloadHandlerTexture) uwr.downloadHandler).texture;
im.texture = tex;
im.transform.parent.gameObject.SetActive(true);
}
}
_imageCache?.Add(pair.Key, ((DownloadHandlerTexture) uwr.downloadHandler).texture);
_imageQueue.Remove(pair.Key);
uwr.Dispose();
}
Expand Down

0 comments on commit 7e33900

Please sign in to comment.