Fix Portal Particle Patch to Use Better Condition

This commit is contained in:
copecone committed 2026-08-12 20:15:10 +09:00
1 parent a322b6c206
commit fb231b65d3
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ namespace ADOFAIRenderer.Patch.Game
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
public static void ForceScaledTime(scrPortalParticles __instance) public static void ForceScaledTime(scrPortalParticles __instance)
{ {
if (!RenderManager.IsActive) return; if (!RenderManager.Instance || !RenderManager.Instance.OverrideLoading) return;
if (__instance == null) return; if (__instance == null) return;
var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true); var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true);