Update server_updateObject.sqf

missing ; from all _object setHit ["_selection", _hit]
This commit is contained in:
Sandbird
2014-04-24 15:30:03 +03:00
parent d846e8796a
commit f82a84146e

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];
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];
@@ -109,7 +109,7 @@ _object_killed = {
_selection = getText (configFile >> "CfgVehicles" >> (typeOf _object) >> "HitPoints" >> _x >> "name");
if (_hit > 0) then {_array set [count _array,[_selection,_hit]]};
_hit = 1;
_object setHit ["_selection", _hit]
_object setHit ["_selection", _hit];
} forEach _hitpoints;
if (_objectID == "0") then {
@@ -131,7 +131,7 @@ _object_repair = {
_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];
} forEach _hitpoints;
_key = format["CHILD:306:%1:%2:%3:",_objectID,_array,_damage];