fix missing semi column and bracket

This commit is contained in:
Glowbal 2015-08-26 09:10:29 +02:00
parent 13740c06e4
commit 65e16da998
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

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