mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
If null, try cursorobject
This commit is contained in:
parent
8581828479
commit
9915cb1939
@ -33,5 +33,10 @@ if (underwater player) then {
|
|||||||
if (_ins isEqualTo []) exitWith { objNull };
|
if (_ins isEqualTo []) exitWith { objNull };
|
||||||
(_ins select 0 param [3,objNull])
|
(_ins select 0 param [3,objNull])
|
||||||
} else {
|
} else {
|
||||||
cursorTarget
|
if (!isnull cursorTarget) then {
|
||||||
|
cursorTarget
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
cursorobject
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user