Skip to content

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

@azalty

Description

@azalty

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions