mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
should be type of
This commit is contained in:
parent
81068e6086
commit
0d7e7fa0cc
@ -39,7 +39,7 @@ _totalWeight = 0;
|
||||
];
|
||||
|
||||
// add Weight of create to totalWeight
|
||||
_totalWeight = _totalWeight + (getNumber (configFile >> "CfgVehicles" >> _object >> "mass"));
|
||||
_totalWeight = _totalWeight + (getNumber (configFile >> "CfgVehicles" >> typeof _object >> "mass"));
|
||||
|
||||
// Mass in Arma isn't an exact amount but rather a volume/weight value. This attempts to work around that by making it a usable value. (sort of).
|
||||
_totalWeight * 0.5
|
||||
|
Loading…
Reference in New Issue
Block a user