Merge pull request #1606 from Mikeeeyy/patch-8

Update server_updateObject.sqf
This commit is contained in:
vbawol
2015-01-18 00:26:58 -06:00

View File

@@ -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];