Skip to content

Commit

Permalink
Disable LR on round start (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS authored Sep 14, 2024
2 parents bf1595a + b90d8b9 commit bc3862a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequestManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public HookResult OnRoundEnd(EventRoundEnd @event, GameEventInfo info) {
[GameEventHandler]
public HookResult OnRoundStart(EventRoundStart @event, GameEventInfo info) {
IsLREnabledForRound = true;
IsLREnabled = false;
foreach (var player in Utilities.GetPlayers())
MenuManager.CloseActiveMenu(player);
return HookResult.Continue;
Expand Down

0 comments on commit bc3862a

Please sign in to comment.