if(!resetTime)
{
// initialize reset time
// for normal instances if no creatures are killed the instance will reset in two hours
if(entry->map_type == MAP_RAID || difficulty > DUNGEON_DIFFICULTY_NORMAL)
[b][color=Red]- resetTime = GetResetTimeFor(mapId,difficulty);[/color]
[color=Red]+ [/color][color=Lime]resetTime = time(NULL) + 5 * HOUR;[/color][/b]
else
{
resetTime = time(NULL) + 2 * HOUR;
// normally this will be removed soon after in InstanceMap::Add, prevent error
ScheduleReset(true, resetTime, InstResetEvent(0, mapId, difficulty, instanceId));
}
}