Fix SkyRD::Sky::free() freeing material

This commit is contained in:
ComycSans 2024-09-02 18:55:44 +02:00
parent 7c383767a2
commit 09e59fbec5

View File

@ -545,7 +545,6 @@ void SkyRD::Sky::free() {
}
if (material.is_valid()) {
RSG::material_storage->material_free(material);
material = RID();
}
}