[BUG] Request Heal Module: Previous askers are healed as well
azalty opened this issue · comments
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
- set g_bHealed[client] to false when we healed someone
OR
- 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)