mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 18:18:39 +00:00
Make player timeout 2 minutes
This commit is contained in:
parent
8703a39100
commit
325d55e458
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace LBPUnion.ProjectLighthouse.Helpers
|
|||
{
|
||||
private static readonly Database database = new();
|
||||
|
||||
public static async Task<int> RecentMatches() => await database.LastMatches.Where(l => TimestampHelper.Timestamp - l.Timestamp < 60).CountAsync();
|
||||
public static async Task<int> RecentMatches() => await database.LastMatches.Where(l => TimestampHelper.Timestamp - l.Timestamp < 120).CountAsync();
|
||||
|
||||
public static async Task<int> SlotCount() => await database.Slots.CountAsync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue