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

Enable /guns menu when starter weapons not set in config #79

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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