From: Jackson <9527380+Jaksuhn@users.noreply.github.com> Date: Wed, 5 Feb 2025 16:14:33 +0000 (+0100) Subject: oops X-Git-Tag: v4.20~24^2 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=4e841929e05e46b74a19e500a26aa01e02368f21;p=Questionable.git oops --- 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)); }