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

Having your gun pulled out of your hands mid-reload throws an error #36136

Closed
alt4 opened this issue Dec 15, 2019 · 0 comments · Fixed by #36260
Closed

Having your gun pulled out of your hands mid-reload throws an error #36136

alt4 opened this issue Dec 15, 2019 · 0 comments · Fixed by #36260
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes.
Milestone

Comments

@alt4
Copy link

alt4 commented Dec 15, 2019

Describe the bug

As per title: if, say, a zombie technician pulls the gun out of your hands while reloading the game throws an error.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Make a player with a gun (with a long reloading time preferably), magazine, and some ammo.
  2. Spawn a zombie technician nearby.
  3. Shoot at something, then reload in line of sight of the zombie techie.
  4. Repeat until gun gets pulled away mid-reload.

Expected behavior

Nothing game-breaking happens, but I guess having a message in logs saying that the gun went away would be prettier.

Additional context

Error report:

 DEBUG    : reload target is null, failed to reload

 FUNCTION : void activity_handlers::reload_finish(player_activity*, player*)
 FILE     : src/activity_handlers.cpp
 LINE     : 1837

Game Version

0.D-10214-ge667aa0

@kevingranade kevingranade added <Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. labels Dec 18, 2019
@kevingranade kevingranade added this to the 0.E milestone Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants