mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Update player_sharpen.sqf
Fixes extra knife being deleted if player already had a fully sharpened
knife on their toolbelt (duplicate weapon).
Vanilla commit:
0332fcbe71
This commit is contained in:
@@ -40,6 +40,7 @@ switch (_this select 0) do {
|
||||
//Drop dull knife or empty matchbox if player already has one. Prevents duplicate tool.
|
||||
player removeWeapon _remaining;
|
||||
[_remaining,2,1] call fn_dropItem;
|
||||
format[localize "str_actions_noroom",_remaining] call dayz_rollingMessages;
|
||||
};
|
||||
player addWeapon _remaining;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user