From 4e841929e05e46b74a19e500a26aa01e02368f21 Mon Sep 17 00:00:00 2001 From: Jackson <9527380+Jaksuhn@users.noreply.github.com> Date: Wed, 5 Feb 2025 17:14:33 +0100 Subject: [PATCH] oops --- Questionable/External/QuestionableIpc.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Questionable/External/QuestionableIpc.cs b/Questionable/External/QuestionableIpc.cs index cd995259..a48d20b6 100644 --- a/Questionable/External/QuestionableIpc.cs +++ b/Questionable/External/QuestionableIpc.cs @@ -14,6 +14,7 @@ internal sealed class QuestionableIpc : IDisposable private const string IpcIsRunning = "Questionable.IsRunning"; private const string IpcGetCurrentQuestId = "Questionable.GetCurrentQuestId"; private const string IpcGetCurrentlyActiveEventQuests = "Questionable.GetCurrentlyActiveEventQuests"; + private const string IpcStartQuest = "Questionable.StartQuest"; private readonly ICallGateProvider _isRunning; private readonly ICallGateProvider _getCurrentQuestId; @@ -37,7 +38,7 @@ internal sealed class QuestionableIpc : IDisposable _getCurrentlyActiveEventQuests.RegisterFunc(() => eventInfoComponent.GetCurrentlyActiveEventQuests().Select(q => q.ToString()).ToList()); - _startQuest = pluginInterface.GetIpcProvider("Questionable.StartQuest"); + _startQuest = pluginInterface.GetIpcProvider(IpcStartQuest); _startQuest.RegisterFunc((string questId) => StartQuest(questController, questRegistry, questId)); }