SHA256
Add Safety Checks and Exception Handling to Game Patches
This commit is contained in:
4 files changed
+17
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using ADOFAIRenderer.Core;
|
||||
using HarmonyLib;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -12,6 +13,7 @@ namespace ADOFAIRenderer.Patch.Game
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static void ForceScaledTime(scrPortalParticles __instance)
|
||||
{
|
||||
if (!RenderManager.IsActive) return;
|
||||
if (__instance == null) return;
|
||||
|
||||
var particleSystems = __instance.GetComponentsInChildren<ParticleSystem>(true);
|
||||
|
||||
Reference in new issue
Block a user