Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Fixed for latest VRChat build.
Browse files Browse the repository at this point in the history
  • Loading branch information
RequiDev committed Jul 13, 2021
1 parent cc8ef57 commit d51cee5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ClearVRAM/ClearVRAM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static class BuildInfo
public const string Name = "ClearVRAM";
public const string Author = "Requi";
public const string Company = "RequiDev";
public const string Version = "1.0.4";
public const string Version = "1.0.5";
public const string DownloadLink = "https://github.com/RequiDev/ClearVRAM";
}

Expand All @@ -37,7 +37,8 @@ public override void OnApplicationStart()
foreach (var key in dict.Keys)
{
var assetBundleDownload = abdm.field_Private_Dictionary_2_String_AssetBundleDownload_0[key];
if (!abdm.field_Private_Dictionary_2_String_AssetBundleDownload_0[key].field_Public_String_0.Contains("wrld_") && !currentAvatars.Contains(key))

if (!assetBundleDownload.field_Private_String_0.Contains("wrld_") && !currentAvatars.Contains(key))
{
abdm.field_Private_Dictionary_2_String_AssetBundleDownload_0.Remove(key);
if (assetBundleDownload.field_Private_GameObject_0 != null)
Expand Down

0 comments on commit d51cee5

Please sign in to comment.