[Hotfix] Fix Quest Ownership Edge Case

This commit is contained in:
Kinglykrab 2025-08-02 23:03:33 -04:00
parent d9f4d49ef4
commit 5cc359bb18

View File

@ -998,11 +998,13 @@ int PerlembParser::SendCommands(
int ret_value = 0; int ret_value = 0;
RunningQuest q; RunningQuest q;
q.owner = other;
q.questitem = inst;
q.questspell = spell;
if (mob && mob->IsClient()) { if (mob && mob->IsClient()) {
q.owner = other;
q.initiator = mob->CastToClient(); q.initiator = mob->CastToClient();
q.questitem = inst;
q.questspell = spell;
} }
if (zone) { if (zone) {