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

[BUG] Request Heal Module: Previous askers are healed as well #385

Open
azalty opened this issue Mar 5, 2021 · 0 comments
Open

[BUG] Request Heal Module: Previous askers are healed as well #385

azalty opened this issue Mar 5, 2021 · 0 comments

Comments

@azalty
Copy link

azalty commented Mar 5, 2021

Describe the bug

A terrorist asks for heal and his request is accepted
If another terrorist then asks for heal, if the warden accepts, both terrorists will get a seringe.
-> All previous terrorists that asked for heal (and got accepted) will be healed again (receive another seringe)

To fix

  1. set g_bHealed[client] to false when we healed someone

OR

  1. get rid of this variable, since it is useless -> replace this line (this will not be valid anymore if the file is changed) with if (g_hTimerHeal[client] == null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant