Skip to content

[TF2] Fix a server crash when a player damages someone without an active weapon while carrying the vampire rune#1925

Open
CookieCat45 wants to merge 1 commit into
ValveSoftware:masterfrom
CookieCat45:vampire-crash-fix
Open

[TF2] Fix a server crash when a player damages someone without an active weapon while carrying the vampire rune#1925
CookieCat45 wants to merge 1 commit into
ValveSoftware:masterfrom
CookieCat45:vampire-crash-fix

Conversation

@CookieCat45
Copy link
Copy Markdown

Description

The vampire rune checks for the attacker's active weapon ID when calculating the amount of health to return, but it doesn't check if the active weapon actually exists before doing so, causing a crash if it doesn't.

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