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

Shotgun shots are cancelled immediately after reloading #282

Open
GooberRF opened this issue Oct 1, 2024 · 0 comments
Open

Shotgun shots are cancelled immediately after reloading #282

GooberRF opened this issue Oct 1, 2024 · 0 comments

Comments

@GooberRF
Copy link
Contributor

GooberRF commented Oct 1, 2024

To reproduce:

  • As a client in a dedicated server, reload shotgun and hold fire button (either primary or alt) so you fire as soon as the reload finishes
  • If logging is available, the first shot on primary, or the first 3 shots on alt, should be cancelled.

I had a quick look into this and it seems like potentially entity_is_reloading in entity.h is reporting the player as still being in the process of reloading even after the reload has finished. I plan to dive further into it, but as this is an issue that affects 1.8.0 servers currently, I wanted to note it here.

I have not noticed the same behaviour with any other weapons, only the shotgun.

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

No branches or pull requests

1 participant