Skip to content

Commit

Permalink
Oops cooldowns of 1 weren't actually working
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Oct 6, 2024
1 parent daccc39 commit bc9ca3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/GameTicking/Rules/SecretRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override void Added(EntityUid uid, SecretRuleComponent component, Game

if (preset.Cooldown > 0)
{
_nextRoundAllowed[preset.ID] = _ticker.RoundId + preset.Cooldown;
_nextRoundAllowed[preset.ID] = _ticker.RoundId + preset.Cooldown + 1;
Log.Info($"{preset.ID} is now on cooldown until {_nextRoundAllowed[preset.ID]}");
}

Expand Down

0 comments on commit bc9ca3c

Please sign in to comment.