Skip to content

Commit

Permalink
FIX : #78 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin committed Feb 15, 2016
1 parent 1962955 commit cc72805
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions =BTC=co@22_Hearts_and_Minds.Altis/core/fnc/log/create_s.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ btc_log_obj_created = btc_log_obj_created + [_obj];

btc_curator addCuratorEditableObjects [[_obj], false];

if ((_this == "B_CargoNet_01_ammo_F") || (_this == "Box_NATO_AmmoVeh_F")) then {
if (((_this select 0) == "B_CargoNet_01_ammo_F") || ((_this select 0) == "Box_NATO_AmmoVeh_F")) then {
_obj setMass 500;
};
if ((_this == btc_supplies_mat) || (_this == btc_fob_mat)) then {
};
if (((_this select 0) == btc_supplies_mat) || ((_this select 0) == btc_fob_mat)) then {
_obj setMass 2000;
};
};

0 comments on commit cc72805

Please sign in to comment.