[Hotfix] Fix Quest Ownership Edge Case (#4977)

* [Hotfix] Fix Quest Ownership Edge Case

* Push
This commit is contained in:
Alex King
2025-08-02 23:09:30 -04:00
committed by GitHub
parent d9f4d49ef4
commit d142e1ca81
4 changed files with 13 additions and 5 deletions
+5 -3
View File
@@ -998,11 +998,13 @@ int PerlembParser::SendCommands(
int ret_value = 0;
RunningQuest q;
q.owner = other;
q.questitem = inst;
q.questspell = spell;
if (mob && mob->IsClient()) {
q.owner = other;
q.initiator = mob->CastToClient();
q.questitem = inst;
q.questspell = spell;
}
if (zone) {