mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 23:19:34 +03:00
Fix anitbiotics to remote player cures own infection
Vanilla commit: https://github.com/DayZMod/DayZ/commit/4c6b45d50751b90f035b3caf69443dda614bddb5
This commit is contained in:
1 parent
2d394c32da
commit
7f239754cc
1 file changed
+4
-2
@@ -29,9 +29,11 @@ if (_hasAntibiotics) then {
|
||||
//Remove one table from the box.
|
||||
[_medsUsed,"medical"] call dayz_reduceItems;
|
||||
|
||||
|
||||
//remove infection
|
||||
r_player_infected = false;
|
||||
_unit setVariable["USEC_infected",false,true];
|
||||
//Called in medAntis
|
||||
//r_player_infected = false;
|
||||
//_unit setVariable["USEC_infected",false,true];
|
||||
|
||||
//remove option
|
||||
call fnc_usec_medic_removeActions;
|
||||
|
||||
Reference in new issue
Block a user