[Perl] Reload perl quests on zone bootup (#3648)

Perl wasn't implementing quest interface's Init which is called by
Zone::Bootup. This should fix zone's that were in standby not using the
latest version of perl plugin scripts.
This commit is contained in:
hg 2023-10-23 23:39:19 -04:00 committed by GitHub
parent 7962a0bd38
commit 0bbfcf7adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -205,6 +205,11 @@ PerlembParser::~PerlembParser()
safe_delete(perl);
}
void PerlembParser::Init()
{
ReloadQuests();
}
void PerlembParser::ReloadQuests()
{
try {

View File

@ -133,6 +133,7 @@ public:
virtual void AddVar(std::string name, std::string val);
virtual std::string GetVar(std::string name);
virtual void Init() override;
virtual void ReloadQuests();
virtual uint32 GetIdentifier() { return 0xf8b05c11; }