fix(Scripts/Kalimdor): fix Azuregos respawn timer not persisting after restarts (#10823)
This commit is contained in:
parent
69e2f2e3aa
commit
cb7f3d50ed
3 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue