Tweaks to zone shutdown code

This commit is contained in:
Akkadius
2018-05-12 03:31:47 -05:00
parent d43273fd1b
commit eb463eef97
3 changed files with 18 additions and 10 deletions
-5
View File
@@ -541,11 +541,6 @@ int main(int argc, char** argv) {
if (previous_loaded && !current_loaded) {
process_timer.Stop();
process_timer.Start(1000, true);
if (zone && zone->GetZoneID() && zone->GetInstanceVersion()) {
uint32 shutdown_timer = database.getZoneShutDownDelay(zone->GetZoneID(), zone->GetInstanceVersion());
zone->StartShutdownTimer(shutdown_timer);
}
}
else if (!previous_loaded && current_loaded) {
process_timer.Stop();