mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
[Instance] Clear Respawn Timers on Creation (#4801)
* [DZ] Clear Respawn Timers on Creation
* Revert "[DZ] Clear Respawn Timers on Creation"
This reverts commit ae18b77e83.
* Clear respawn times on instance creation
This commit is contained in:
1 parent
96e34fe8f7
commit
44497414db
2 files changed
+7
No files matched your search
@@ -129,6 +129,8 @@ bool Database::CreateInstance(uint16 instance_id, uint32 zone_id, uint32 version
|
||||
e.start_time = std::time(nullptr);
|
||||
e.duration = duration;
|
||||
|
||||
RespawnTimesRepository::ClearInstanceTimers(*this, e.id);
|
||||
|
||||
return InstanceListRepository::InsertOne(*this, e).id;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user