Skip to content

Commit

Permalink
Update fnc_poison.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinskihenry committed Dec 16, 2024
1 parent c865b39 commit 2a1fcb5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions addons/chemical/functions/fnc_poison.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,5 @@ if (_currentInfection != _newTime) then {

// Exit if infection reaches 0
if (_newTime <= 0) then {
if !(_unit getVariable [QGVAR(airPoisoning), false]) then {
[QEGVAR(breathing,playCough), [_unit], _unit] call CBA_fnc_targetEvent;
};

_unit setVariable [QGVAR(airPoisoning), true, true];
};

0 comments on commit 2a1fcb5

Please sign in to comment.