From 8c23eee42a452be0bc13c7e37a19480bfffd7652 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Sun, 7 May 2023 14:41:57 -0400 Subject: [PATCH] [Bug Fix] ReloadQuests() on Zone::Init() to avoid cached global quests/plugins (#3333) # Notes - Before this, quests/plugins would be cached in an old state, so you'd have to either enter the zone and `#reload quest` or `#reload world` to get them to update. --- zone/zone.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/zone.cpp b/zone/zone.cpp index 00915aee1..16139bf0b 100644 --- a/zone/zone.cpp +++ b/zone/zone.cpp @@ -1213,6 +1213,8 @@ bool Zone::Init(bool is_static) { npc_scale_manager->LoadScaleData(); + parse->ReloadQuests(); + // logging origination information LogSys.origination_info.zone_short_name = zone->short_name; LogSys.origination_info.zone_long_name = zone->long_name;