Skip to content

Commit

Permalink
fix: order
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-wos committed Oct 12, 2024
1 parent d10786d commit b19e0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listeners.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public partial class AntiRush
{
private void OnTick()
{
if (!Config.Warmup && _gameRules?.WarmupPeriod)
if (_gameRules?.WarmupPeriod && !Config.Warmup)

Check failure on line 10 in src/Listeners.cs

View workflow job for this annotation

GitHub Actions / build

Operator '&&' cannot be applied to operands of type 'bool?' and 'bool'

Check failure on line 10 in src/Listeners.cs

View workflow job for this annotation

GitHub Actions / build

Operator '&&' cannot be applied to operands of type 'bool?' and 'bool'
return;

if (Config.NoRushTime != 0 && !_bombPlanted)
Expand Down

0 comments on commit b19e0da

Please sign in to comment.