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

* [Hotfix] Fix Quest Ownership Edge Case

* Push
This commit is contained in:
Alex King authored and GitHub committed 2025-08-02 22:09:30 -05:00
1 parent d9f4d49ef4
commit d142e1ca81
4 files changed
+13 -5

No files matched your search

+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) {