A few more throwaway variable syntax updated

This commit is contained in:
Kwoth
2022-02-01 13:54:25 +01:00
parent 7ee51332b0
commit b22cd5a81e
8 changed files with 12 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ public sealed class Connect4Game : IDisposable
{
if (_players[1] is null)
{
var __ = OnGameFailedToStart?.Invoke(this);
_ = OnGameFailedToStart?.Invoke(this);
CurrentPhase = Phase.Ended;
await _cs.AddAsync(_players[0].Value.UserId, _options.Bet, new("connect4", "refund"));
}
@@ -145,7 +145,7 @@ public sealed class Connect4Game : IDisposable
null,
TimeSpan.FromSeconds(_options.TurnTimer),
TimeSpan.FromSeconds(_options.TurnTimer));
var __ = OnGameStateUpdated?.Invoke(this);
_ = OnGameStateUpdated?.Invoke(this);
return true;
}

View File

@@ -547,7 +547,7 @@ public partial class Gambling : GamblingModule<GamblingService>
}
finally
{
_service.Duels.TryRemove((u.Id, ctx.User.Id), out var _);
_service.Duels.TryRemove((u.Id, ctx.User.Id), out _);
}
}
}