mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 04:32:56 +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 {
|
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];
|
s_player_Drinkfromhands = player addAction [localize "STR_ACTIONS_DRINK2", "\z\addons\dayz_code\actions\player_drinkWater.sqf",player, 0.5, false, true];
|
||||||
};
|
};
|
||||||
};
|
} else {
|
||||||
if (!_nearWaterHole && s_player_Drinkfromhands >= 0) then {
|
if (s_player_Drinkfromhands >= 0) then {
|
||||||
player removeAction s_player_Drinkfromhands;
|
player removeAction s_player_Drinkfromhands;
|
||||||
s_player_Drinkfromhands = -1;
|
s_player_Drinkfromhands = -1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user