If null, try cursorobject

This commit is contained in:
He-Man 2018-06-18 18:04:28 +02:00
parent 8581828479
commit 9915cb1939

View File

@ -33,5 +33,10 @@ if (underwater player) then {
if (_ins isEqualTo []) exitWith { objNull };
(_ins select 0 param [3,objNull])
} else {
cursorTarget
if (!isnull cursorTarget) then {
cursorTarget
}
else {
cursorobject
};
}