[Hotfix] Fix Quest Ownership Edge Case

This commit is contained in:
Kinglykrab
2025-08-02 23:03:33 -04:00
parent d9f4d49ef4
commit 5cc359bb18
+4 -2
View File
@@ -998,11 +998,13 @@ int PerlembParser::SendCommands(
int ret_value = 0; int ret_value = 0;
RunningQuest q; RunningQuest q;
if (mob && mob->IsClient()) {
q.owner = other; q.owner = other;
q.initiator = mob->CastToClient();
q.questitem = inst; q.questitem = inst;
q.questspell = spell; q.questspell = spell;
if (mob && mob->IsClient()) {
q.initiator = mob->CastToClient();
} }
if (zone) { if (zone) {