[Bug Fix] quest::processmobswhilezoneempty() fix. (#3971)

This commit is contained in:
Paul Coene authored and GitHub committed 2024-01-13 09:37:22 -05:00
1 parent 3b7a138de4
commit 4b5b29b165
2 files changed
+2 -3

No files matched your search

+2 -2
View File
@@ -933,9 +933,9 @@ void QuestManager::repopzone() {
}
}
void QuestManager::processmobswhilezoneempty(bool idle_when_empty) {
void QuestManager::processmobswhilezoneempty(bool turn_on) {
if (zone) {
zone->SetIdleWhenEmpty(idle_when_empty);
zone->SetIdleWhenEmpty(!turn_on);
} else {
LogQuests(
"QuestManager::processmobswhilezoneempty called with nullptr zone. Probably syntax error in quest file"