Skip to content

Commit

Permalink
Move call to clear room state
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Aug 8, 2023
1 parent baf88cb commit eed89e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DragaliaAPI.Photon.Plugin/GluonPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ public override void OnRaiseEvent(IRaiseEventCallInfo info)
/// <param name="info">Event call info.</param>
private void OnFailQuestRequest(IRaiseEventCallInfo info)
{
this.roomState = new RoomState();
this.actorState[info.ActorNr].Ready = false;

FailQuestRequest request = info.DeserializeEvent<FailQuestRequest>();
Expand Down Expand Up @@ -310,6 +309,8 @@ private void OnFailQuestRequest(IRaiseEventCallInfo info)

this.SetRoomVisibility(info, true);
}

this.roomState = new RoomState();
}

/// <summary>
Expand Down

0 comments on commit eed89e3

Please sign in to comment.