From 6df82aad55e4cc6f2acff3f9b3d2d2a44ec8e2ef Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Mon, 20 Jun 2016 16:12:40 -0300 Subject: [PATCH] I can't believe it happened to me. --- addons/dogtags/functions/fnc_getDogtagData.sqf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/dogtags/functions/fnc_getDogtagData.sqf b/addons/dogtags/functions/fnc_getDogtagData.sqf index bcb4cc05a2..68cc4a2bc4 100644 --- a/addons/dogtags/functions/fnc_getDogtagData.sqf +++ b/addons/dogtags/functions/fnc_getDogtagData.sqf @@ -20,12 +20,12 @@ if (!isNil "_dogTagData") exitWith {_dogTagData}; // Create dog tag data once for the unit: nickname, code (eg. 135-13-900) and blood type private _dogTagData = [ - [_target, false, true] call EFUNC(common,getName), - str(floor random 9) + str(floor random 9) + str(floor random 9) + "-" + - str(floor random 9) + str(floor random 9) + "-" + - str(floor random 9) + str(floor random 9) + str(floor random 9), - selectRandom ["O POS", "O NEG", "A POS", "A NEG", "B POS", "B NEG", - "AB POS", "AB NEG"] + [_target, false, true] call EFUNC(common,getName), + str(floor random 9) + str(floor random 9) + str(floor random 9) + "-" + + str(floor random 9) + str(floor random 9) + "-" + + str(floor random 9) + str(floor random 9) + str(floor random 9), + selectRandom ["O POS", "O NEG", "A POS", "A NEG", "B POS", "B NEG", + "AB POS", "AB NEG"] ]; // Store it _target setVariable [QGVAR(dogtagData), _dogTagData, true];