mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Really obvious isNull instead of isEqualTo
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
This commit is contained in:
parent
29d3d4c19f
commit
c7a2769bdd
@ -17,8 +17,7 @@
|
||||
*/
|
||||
params ["_lastUnit", "_currentUnit"];
|
||||
|
||||
|
||||
if (_currentUnit isEqualTo objNull || {_lastUnit isEqualTo _currentUnit}) exitWith {};
|
||||
if (isNull _currentUnit || {_lastUnit isEqualTo _currentUnit}) exitWith {};
|
||||
if (!local _currentUnit) exitWith {
|
||||
[
|
||||
{local _currentUnit},
|
||||
|
Loading…
Reference in New Issue
Block a user