mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix missing semi column and bracket
This commit is contained in:
parent
13740c06e4
commit
65e16da998
@ -24,7 +24,7 @@ _totalWeight = 0;
|
||||
// Cycle through all item types with their assigned config paths.
|
||||
{
|
||||
_x params["_items","_getConfigCode"];
|
||||
_items params ["_item", "_count"]
|
||||
_items params ["_item", "_count"];
|
||||
// Cycle through all items and read their mass out of the config.
|
||||
{
|
||||
// Multiply mass with amount of items and add the mass to the total weight.
|
||||
|
@ -26,7 +26,7 @@ if (getNumber (_config >> QGVAR(canDrag)) == 1) then {
|
||||
[_object, true, _position, _direction] call FUNC(setDraggable);
|
||||
};
|
||||
|
||||
if (getNumber (_config >> QGVAR(canCarry)) == 1) then
|
||||
if (getNumber (_config >> QGVAR(canCarry)) == 1) then {
|
||||
_position = getArray (_config >> QGVAR(carryPosition));
|
||||
_direction = getNumber (_config >> QGVAR(carryDirection));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user