From bdc6b1c049e4496c491c1472bf749aaa517e02b5 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Sun, 24 Nov 2013 15:29:50 -0600 Subject: [PATCH] gettext instead of number --- SQF/dayz_code/compile/fn_selfActions.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 4c4937d04..fc658a09b 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -138,7 +138,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu { if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _key_colors) then { _ownerKeyId = getNumber(configFile >> "CfgWeapons" >> _x >> "keyid"); - _ownerKeyName = getNumber(configFile >> "CfgWeapons" >> _x >> "displayName"); + _ownerKeyName = getText(configFile >> "CfgWeapons" >> _x >> "displayName"); _temp_keys_names set [_ownerKeyId,_ownerKeyName]; _temp_keys set [count _temp_keys,str(_ownerKeyId)]; };