mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
[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:
parent
7962a0bd38
commit
0bbfcf7adc
@ -205,6 +205,11 @@ PerlembParser::~PerlembParser()
|
||||
safe_delete(perl);
|
||||
}
|
||||
|
||||
void PerlembParser::Init()
|
||||
{
|
||||
ReloadQuests();
|
||||
}
|
||||
|
||||
void PerlembParser::ReloadQuests()
|
||||
{
|
||||
try {
|
||||
|
||||
@ -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; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user