SHA256
Apply Stage-based Condition Management
This commit is contained in:
7 files changed
+28
-45
No files matched your search
@@ -14,7 +14,7 @@ public static class scnGamePatch
|
||||
[HarmonyPatch("Play")]
|
||||
public static void ProcessFloors()
|
||||
{
|
||||
var nonTile = RenderManager.Instance.OverrideLoading &&
|
||||
var nonTile = RenderManager.Instance.stage >= RenderStage.Load &&
|
||||
RenderManager.Instance.Configuration.AdvancedConfig.NonTile;
|
||||
|
||||
if (!nonTile) return;
|
||||
|
||||
@@ -14,7 +14,7 @@ public class scrFloorPatch
|
||||
{
|
||||
if (!scrLevelMaker.instance.listFloors.Contains(__instance)) return true;
|
||||
|
||||
var nonTile = RenderManager.Instance.OverrideLoading &&
|
||||
var nonTile = RenderManager.Instance.stage >= RenderStage.Load &&
|
||||
RenderManager.Instance.Configuration.AdvancedConfig.NonTile;
|
||||
return !nonTile;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ public static class scrPortalParticlesPatch
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static void ForceScaledTime(scrPortalParticles __instance)
|
||||
{
|
||||
if (!RenderManager.Instance || !RenderManager.Instance.OverrideLoading) return;
|
||||
if (!RenderManager.Instance || RenderManager.Instance.stage < RenderStage.Load) return;
|
||||
if (__instance == null) return;
|
||||
|
||||
var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true);
|
||||
|
||||
Reference in new issue
Block a user