mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add animation to player_sharpen
This commit is contained in:
@@ -19,7 +19,6 @@ closeDialog 1;
|
||||
|
||||
// item is missing or tools are missing
|
||||
if (isNil "_waterUsed") exitWith {
|
||||
//_displayName = getText (configFile >> "CfgMagazines" >> _use >> "displayName");
|
||||
localize "str_sharpen_missing_water" call dayz_rollingMessages;
|
||||
dayz_actionInProgress = false;
|
||||
};
|
||||
@@ -31,6 +30,13 @@ if !("equip_brick" IN magazines player) exitWith {
|
||||
dayz_actionInProgress = false;
|
||||
};
|
||||
|
||||
_finished = ["Medic",1] call fn_loopAction;
|
||||
|
||||
if (!_finished) exitWith {
|
||||
localize "STR_EPOCH_PLAYER_26" call dayz_rollingMessages;
|
||||
dayz_actionInProgress = false;
|
||||
};
|
||||
|
||||
if (player hasWeapon _item) then {
|
||||
_displayName = getText (configFile >> "CfgWeapons" >> _item >> "displayName");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user