Skip to content

Verify weapon selection before switching#253

Open
Toodles2You wants to merge 1 commit intotwhl-community:masterfrom
Toodles2You:weapon-switch
Open

Verify weapon selection before switching#253
Toodles2You wants to merge 1 commit intotwhl-community:masterfrom
Toodles2You:weapon-switch

Conversation

@Toodles2You
Copy link
Contributor

This fixes some instances where the player is able to select unusable weapons, such as using "lastinv" to select an empty weapon.

Weapon deploying can no longer bail out; All the checks are performed before the player has actually had their active item changed. This should fix the issue where the player ends up with the wrong viewmodel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant