From 4ad1a72db27bc625cff89b1d343e40e316809801 Mon Sep 17 00:00:00 2001 From: Mikeeeyy Date: Sun, 18 Jan 2015 04:28:04 +0000 Subject: [PATCH] Update server_updateObject.sqf --- SQF/dayz_server/compile/server_updateObject.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_server/compile/server_updateObject.sqf b/SQF/dayz_server/compile/server_updateObject.sqf index 9ee8310e0..145e65223 100644 --- a/SQF/dayz_server/compile/server_updateObject.sqf +++ b/SQF/dayz_server/compile/server_updateObject.sqf @@ -89,7 +89,7 @@ _object_damage = { _hit = [_object,_x] call object_getHit; _selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name"); if (_hit > 0) then {_array set [count _array,[_selection,_hit]]}; - _object setHit ["_selection", _hit]; + _object setHit [_selection, _hit]; } count _hitpoints; _key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];