mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
movement - Handle objNull in virtualMass
This commit is contained in:
parent
ec01ae0d0b
commit
8aa5e53bdd
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
|
if (isNull _unit) exitWith {};
|
||||||
|
|
||||||
// add sum of virtual loads
|
// add sum of virtual loads
|
||||||
private _virtualLoad = 0;
|
private _virtualLoad = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user