From 2e856158fa0f5dc729ef2c33e703a68525a72d2d Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 23 Feb 2025 14:21:52 -0500 Subject: [PATCH] Core/Scenarios: Send Scenario GUID in scenario progress packet Port From (https://github.com/TrinityCore/TrinityCore/commit/49b3ea96f5450a9649983267d34622e5f5cec876) --- Source/Game/Scenarios/Scenario.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/Scenarios/Scenario.cs b/Source/Game/Scenarios/Scenario.cs index fd10f0946..ae7b5fcbf 100644 --- a/Source/Game/Scenarios/Scenario.cs +++ b/Source/Game/Scenarios/Scenario.cs @@ -167,7 +167,7 @@ namespace Game.Scenarios ScenarioProgressUpdate progressUpdate = new(); progressUpdate.CriteriaProgress.Id = criteria.Id; progressUpdate.CriteriaProgress.Quantity = progress.Counter; - progressUpdate.CriteriaProgress.Player = progress.PlayerGUID; + progressUpdate.CriteriaProgress.Player = _guid; progressUpdate.CriteriaProgress.Date.SetUtcTimeFromUnixTime(progress.Date); progressUpdate.CriteriaProgress.Date += receiver.GetSession().GetTimezoneOffset(); if (criteria.Entry.StartTimer != 0) @@ -354,7 +354,7 @@ namespace Game.Scenarios criteriaProgress.Quantity = progress.Counter; criteriaProgress.Date.SetUtcTimeFromUnixTime(progress.Date); criteriaProgress.Date += player.GetSession().GetTimezoneOffset(); - criteriaProgress.Player = progress.PlayerGUID; + criteriaProgress.Player = _guid; criteriasProgress.Add(criteriaProgress); }