Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Enable /guns menu when starter weapons not set in config (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov authored Dec 27, 2023
1 parent 557fc2c commit bc4047d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ public client_putinserver(pPlayer)
{
g_iPreviousSecondary[pPlayer] = g_iStarterSecondary
g_iPreviousPrimary[pPlayer] = g_iStarterPrimary
g_bOpenMenu[pPlayer] = false

g_bOpenMenu[pPlayer] = (g_iStarterPrimary == INVALID_INDEX && g_iStarterSecondary == INVALID_INDEX)

g_bAlwaysRandom[pPlayer] = false
g_flPlayerBuyTime[pPlayer] = 0.0
}
Expand Down

0 comments on commit bc4047d

Please sign in to comment.