[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:
Chris Miles
2025-03-29 14:47:25 -05:00
committed by GitHub
parent 96e34fe8f7
commit 44497414db
2 changed files with 7 additions and 0 deletions
@@ -77,6 +77,11 @@ public:
return ((r.start + r.duration) - time_seconds);
}
static void ClearInstanceTimers(Database &db, int32_t id)
{
RespawnTimesRepository::DeleteWhere(db, fmt::format("`instance_id` = {}", id));
}
};
#endif //EQEMU_RESPAWN_TIMES_REPOSITORY_H