Added RaidTemplate sites
This commit is contained in:
parent
e30645c505
commit
dd79b0e333
7 changed files with 499 additions and 2 deletions
|
@ -34,7 +34,7 @@ namespace Lieb.Data
|
|||
DateTime UTCStartTime = TimeZoneInfo.ConvertTimeToUtc(template.StartTime, timeZone);
|
||||
if(UTCStartTime.AddDays(-template.CreateDaysBefore).AddHours(1) < DateTime.UtcNow)
|
||||
{
|
||||
raidTemplateService.CreateNewRaid(template.RaidTemplateId).Wait();
|
||||
raidTemplateService.CreateRaidFromTemplate(template.RaidTemplateId).Wait();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue