From ee70dd49d398c91bf13ef1373782b3723b31945d Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Tue, 3 May 2016 17:28:27 -0400 Subject: [PATCH] Prevent rags duping Vanilla development commit: https://github.com/DayZMod/DayZ/commit/31167114e79b7fbde063d543e3f225dc493261f7 --- SQF/dayz_code/actions/player_tearClothes.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/SQF/dayz_code/actions/player_tearClothes.sqf b/SQF/dayz_code/actions/player_tearClothes.sqf index 5a4b62c37..50d21614c 100644 --- a/SQF/dayz_code/actions/player_tearClothes.sqf +++ b/SQF/dayz_code/actions/player_tearClothes.sqf @@ -14,6 +14,7 @@ _infoText = ""; player playActionNow "Medic"; [player,"bandage",0,false] call dayz_zombieSpeak; uiSleep 6; +if !(_skin in magazines player) exitWith {localize "str_tear_clothes_0" call dayz_rollingMessages;}; player removeMagazine _skin; switch (_rounded) do {