Update scrPortalParticlesPatch.cs

This commit is contained in:
koren committed 2026-08-08 22:23:11 +09:00
1 parent 23a6801aed
commit 27e4863858
1 file changed
+3
+3
View File
@@ -25,6 +25,9 @@ namespace ADOFAIRenderer.Patch.Game
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
public static void ForceScaledTime(scrPortalParticles __instance) public static void ForceScaledTime(scrPortalParticles __instance)
{ {
// 렌더링 중에만 필요한 조치입니다. 일반 플레이에서 적용하면
// 일시정지(timeScale=0) 시 바닐라가 unscaled로 만든 파티클까지 얼어붙습니다.
if (!Core.RenderManager.IsActive) return;
if (__instance == null) return; if (__instance == null) return;
var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true); var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true);