mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Shorten if check
This commit is contained in:
parent
6edd7ab093
commit
b93183fef9
@ -68,12 +68,8 @@ private _numTransferredHC3 = 0;
|
||||
|
||||
// Transfer AI groups
|
||||
{
|
||||
private _transfer = true;
|
||||
|
||||
// No transfer if empty group
|
||||
if (_x isEqualTo []) then {
|
||||
_transfer = false;
|
||||
};
|
||||
private _transfer = !(_x isEqualTo []);
|
||||
|
||||
if (_transfer) then {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user