SHA256
Fix Portal Particle Patch to Use Better Condition
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user