Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't turn off the flashlight when removing weapons with player_weaponstrip #498

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

FreeSlave
Copy link
Member

@FreeSlave FreeSlave commented Dec 28, 2024

This commit introduced a change which turns off the flashlight in RemoveAllItems

I guess it was done so in order to turn off the flashlight in multiplayer when player dies.

This however interferes with how the player_weaponstrip works which also calls RemoveAllItems. In original Half-Life it doesn't turn off the flashlight.

As a middleground I think the flashlight should be turned off if the player is stripped of the suit (which happens in multiplayer via PackDeadPlayerItems)

@nekonomicon nekonomicon merged commit 65fc8b3 into FWGS:master Dec 31, 2024
4 checks passed
@FreeSlave FreeSlave deleted the weaponstrip_fix branch December 31, 2024 11:13
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.

3 participants