mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
fix(Scripts/Kalimdor): fix Azuregos respawn timer not persisting after restarts (#10823)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "GameTime.h"
|
||||
#include "Player.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "ScriptedCreature.h"
|
||||
@@ -142,6 +143,7 @@ public:
|
||||
});
|
||||
|
||||
me->SetRespawnTime(urand(2 * DAY, 3 * DAY));
|
||||
me->SaveRespawnTimeToDB();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
|
||||
Reference in New Issue
Block a user