Skip to content

Commit

Permalink
Fix lr credit check (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS authored Dec 21, 2024
2 parents 23d62a0 + e59f661 commit 04e4e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Rebel/RebelListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public HookResult OnDeath(EventPlayerDeath ev, GameEventInfo info) {
return HookResult.Continue;
if (player.Team != CsTeam.Terrorist) return HookResult.Continue;
if (!rebelService.IsRebel(player)) return HookResult.Continue;
if (LastRequestManager.shouldGrantCredits()) return HookResult.Continue;
if (!LastRequestManager.shouldGrantCredits()) return HookResult.Continue;

var attacker = ev.Attacker;
if (attacker == null || !attacker.IsValid || attacker.IsBot)
Expand Down

0 comments on commit 04e4e44

Please sign in to comment.