From eed89e320e0552894a0eb193b029003d2522e24c Mon Sep 17 00:00:00 2001 From: Jay Malhotra Date: Wed, 9 Aug 2023 00:21:52 +0100 Subject: [PATCH] Move call to clear room state --- DragaliaAPI.Photon.Plugin/GluonPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DragaliaAPI.Photon.Plugin/GluonPlugin.cs b/DragaliaAPI.Photon.Plugin/GluonPlugin.cs index 660fd88b2..63fb9dc05 100644 --- a/DragaliaAPI.Photon.Plugin/GluonPlugin.cs +++ b/DragaliaAPI.Photon.Plugin/GluonPlugin.cs @@ -268,7 +268,6 @@ public override void OnRaiseEvent(IRaiseEventCallInfo info) /// Event call info. private void OnFailQuestRequest(IRaiseEventCallInfo info) { - this.roomState = new RoomState(); this.actorState[info.ActorNr].Ready = false; FailQuestRequest request = info.DeserializeEvent(); @@ -310,6 +309,8 @@ private void OnFailQuestRequest(IRaiseEventCallInfo info) this.SetRoomVisibility(info, true); } + + this.roomState = new RoomState(); } ///