Skip to content

Commit 26987ea

Browse files
committed
bugfixes
1 parent c38137d commit 26987ea

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

addons/overthrow_main.pbo

37 Bytes
Binary file not shown.

addons/overthrow_main/functions/factions/NATO/fn_NATOGroundForces.sqf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if !(_byair) then {
8484
_allunits pushback _x;
8585
_x setVariable ["garrison","HQ",false];
8686
[_x] call OT_fnc_initMilitary;
87-
87+
8888
}foreach(units _group2);
8989
{
9090
_x addCuratorEditableObjects [units _group2,true];
@@ -127,7 +127,7 @@ if(_byair && _tgroup isEqualType grpNull) then {
127127

128128
//Try to make sure drop position is on a bigger road
129129
{
130-
private _pos = getpos _c;
130+
private _pos = getpos _x;
131131
if(isOnRoad _pos) exitWith {_dropos = _pos};
132132
}foreach(_roads);
133133

addons/overthrow_main/functions/fn_initVar.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ OT_allBLUOffensiveVehicles = [];
559559
_base call {
560560
_itemType = ([_cls] call BIS_fnc_itemType) select 1;
561561
if(_itemType isEqualTo "MachineGun") exitWith {OT_allBLUMachineGuns pushBackUnique _base};
562-
if((_this select [0,7]) == "srifle_" || (_this_this isKindOf ["Rifle_Long_Base_F", configFile >> "CfgWeapons"])) exitWith {OT_allBLUSniperRifles pushBackUnique _base};
562+
if((_this select [0,7]) == "srifle_" || (_this isKindOf ["Rifle_Long_Base_F", configFile >> "CfgWeapons"])) exitWith {OT_allBLUSniperRifles pushBackUnique _base};
563563
if((_this find "_GL_") > -1) exitWith {OT_allBLUGLRifles pushBackUnique _base};
564564
if((_this find "SMG") > -1) exitWith {OT_allBLUSMG pushBackUnique _base};
565565
OT_allBLURifles pushBackUnique _base

addons/overthrow_main/functions/virtualization/fn_despawn.sqf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ spawner setVariable [_i,[],false];
55
if(typename _x isEqualTo "GROUP") then {
66
{
77
if !(_x call OT_fnc_hasOwner) then {
8-
deleteVehicle _x;
8+
_x remoteExecCall ["deleteVehicle",_x];
99
sleep 0.2;
1010
};
1111
}foreach(units _x);
1212
deleteGroup _x;
1313
}else{
1414
if !(_x call OT_fnc_hasOwner) then {
15-
deleteVehicle _x;
15+
_x remoteExecCall ["deleteVehicle",_x];
1616
};
1717
};
1818
sleep 0.2;

0 commit comments

Comments
 (0)