diff --git a/project/Aki.SinglePlayer/Patches/Progression/MidRaidQuestChangePatch.cs b/project/Aki.SinglePlayer/Patches/Progression/MidRaidQuestChangePatch.cs index 8fd1f6d..cd0cad9 100644 --- a/project/Aki.SinglePlayer/Patches/Progression/MidRaidQuestChangePatch.cs +++ b/project/Aki.SinglePlayer/Patches/Progression/MidRaidQuestChangePatch.cs @@ -21,7 +21,7 @@ namespace Aki.SinglePlayer.Patches.Progression private static void PatchPostfix() { var gameWorld = Singleton.Instance; - if (gameWorld != null) + if (gameWorld == null) { Logger.LogDebug($"[MidRaidQuestChangePatch] gameWorld instance was null"); @@ -29,7 +29,6 @@ namespace Aki.SinglePlayer.Patches.Progression } var player = gameWorld.MainPlayer; - var questController = Traverse.Create(player).Field("_questController").Value; if (questController != null) {