Skip to content

Commit

Permalink
Review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYappert committed Dec 5, 2024
1 parent 1e41bbd commit 61faead
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ public override void Handle(GameClient client, IPacket packet)
foreach (var questScheduleId in activeQuests)
{
var quest = QuestManager.GetQuestByScheduleId(questScheduleId);
if (quest is null) { continue; }
if (quest is null)
{
continue;
}
var questStateManager = QuestManager.GetQuestStateManager(client, quest);
var questState = questStateManager.GetQuestState(questScheduleId);
pcap.QuestOrderList.Add(quest.ToCDataQuestOrderList(questState.Step));
Expand Down
1 change: 1 addition & 0 deletions Arrowgene.Ddon.Server/Network/RequestPacketHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Arrowgene.Ddon.Shared.Network;
using Arrowgene.Logging;
using System;
using System.Data.SQLite;
using System.Linq;
using System.Text;

Expand Down
5 changes: 1 addition & 4 deletions Arrowgene.Ddon.Shared/Files/Assets/quests/q00000026.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"discoverable": true,
"order_conditions": [
{ "type": "SoloWithPawns" },
{
"type": "MainQuestCompleted",
"Param1": 4
}
{ "type": "MainQuestCompleted", "Param1": 4 }
],
"rewards": [
{
Expand Down

0 comments on commit 61faead

Please sign in to comment.