mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Fixed around 140 wrong namings and other refactorings which were marked as warnings
This commit is contained in:
@@ -35,9 +35,7 @@ public class Blackjack
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
var _ = GameLoop();
|
||||
}
|
||||
=> _= GameLoop();
|
||||
|
||||
public async Task GameLoop()
|
||||
{
|
||||
@@ -89,13 +87,13 @@ public class Blackjack
|
||||
Log.Information("Dealer moves");
|
||||
await DealerMoves();
|
||||
await PrintState();
|
||||
var _ = GameEnded?.Invoke(this);
|
||||
_= GameEnded?.Invoke(this);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "REPORT THE MESSAGE BELOW IN #NadekoLog SERVER PLEASE");
|
||||
State = GameState.Ended;
|
||||
var _ = GameEnded?.Invoke(this);
|
||||
_= GameEnded?.Invoke(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,7 +125,7 @@ public class Blackjack
|
||||
if (!await _cs.RemoveAsync(user, "BlackJack-gamble", bet, gamble: true)) return false;
|
||||
|
||||
Players.Add(new(user, bet));
|
||||
var _ = PrintState();
|
||||
_= PrintState();
|
||||
return true;
|
||||
}
|
||||
finally
|
||||
|
Reference in New Issue
Block a user