Skip to content

[HL2MP] Fix empty-fire cooldown scheduling for .357 and crossbow - #2034

Open
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:fix/prediction-empty-fire-cooldowns
Open

[HL2MP] Fix empty-fire cooldown scheduling for .357 and crossbow#2034
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:fix/prediction-empty-fire-cooldowns

Conversation

@speedvoltage

Copy link
Copy Markdown
Contributor

Issue:

The .357 and crossbow set their empty-fire cooldown to a fixed map time. Once the map has been running longer than that value, holding fire repeatedly enters the empty-fire path.

Fix:

Schedule the empty-fire cooldown relative to the current time.

Schedule .357 and crossbow empty-fire cooldowns relative to the current time. Holding fire no longer re-enters the empty path every command after map time 0.15.
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