Merge pull request #57947 from akien-mga/3.x-cherrypicks

This commit is contained in:
Rémi Verschelde
2022-02-11 13:45:03 +01:00
committed by GitHub

View File

@@ -778,7 +778,7 @@ public:
}
if (!ResourceCache::has(script)) {
//if the script is not in use by anyone, we can safely assume whathever we got is not casting to it.
//if the script is not in use by anyone, we can safely assume whatever we got is not casting to it.
return 1;
}
Ref<Script> cast_script = Ref<Resource>(ResourceCache::get(script));