forked from liza/Questionable
Update EventInfoComponent.cs
This commit is contained in:
parent
7a47992792
commit
f72fafbf6a
@ -139,7 +139,7 @@ internal sealed class EventInfoComponent
|
|||||||
public IEnumerable<QuestId> GetCurrentlyActiveEventQuests()
|
public IEnumerable<QuestId> GetCurrentlyActiveEventQuests()
|
||||||
{
|
{
|
||||||
return _eventQuests
|
return _eventQuests
|
||||||
.Where(x => x.EndsAtUtc <= DateTime.UtcNow)
|
.Where(x => x.EndsAtUtc >= DateTime.UtcNow)
|
||||||
.SelectMany(x => x.QuestIds);
|
.SelectMany(x => x.QuestIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user