Skip to content

Commit

Permalink
fix: all zones being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-wos committed Jul 3, 2024
1 parent cb9f7ef commit f88e293
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 @@ -31,7 +31,7 @@ private void OnTick()
{
foreach (var zone in _zones)
{
if ((Config.NoRushTime != 0 && Config.NoRushTime + _roundStart < Server.CurrentTime) || _bombPlanted && zone.Type is (ZoneType.Bounce or ZoneType.Teleport))
if (((Config.NoRushTime != 0 && Config.NoRushTime + _roundStart < Server.CurrentTime) || _bombPlanted) && zone.Type is (ZoneType.Bounce or ZoneType.Teleport))
continue;

if (Config.NoCampTime != 0 && Config.NoCampTime + _roundStart > Server.CurrentTime && zone.Type is ZoneType.Hurt)
Expand Down

0 comments on commit f88e293

Please sign in to comment.