mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Correct comment from 4d3f707
This commit is contained in:
@@ -104,10 +104,11 @@ if (_canDo && !_inVehicle && !dayz_isSwimming && _nearWaterHole) then {
|
||||
if (s_player_Drinkfromhands < 0) then {
|
||||
s_player_Drinkfromhands = player addAction [localize "STR_ACTIONS_DRINK2", "\z\addons\dayz_code\actions\player_drinkWater.sqf",player, 0.5, false, true];
|
||||
};
|
||||
};
|
||||
if (!_nearWaterHole && s_player_Drinkfromhands >= 0) then {
|
||||
player removeAction s_player_Drinkfromhands;
|
||||
s_player_Drinkfromhands = -1;
|
||||
} else {
|
||||
if (s_player_Drinkfromhands >= 0) then {
|
||||
player removeAction s_player_Drinkfromhands;
|
||||
s_player_Drinkfromhands = -1;
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user