From a08d50cf74dca4e4cf7b1e66925915a2b8245b04 Mon Sep 17 00:00:00 2001 From: vbawol Date: Tue, 10 Oct 2017 10:50:02 -0500 Subject: [PATCH] omit "-" as a uniformClass --- Tools/SQF/getMaleUniforms.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/SQF/getMaleUniforms.sqf b/Tools/SQF/getMaleUniforms.sqf index b3d10724..d983bfba 100644 --- a/Tools/SQF/getMaleUniforms.sqf +++ b/Tools/SQF/getMaleUniforms.sqf @@ -46,7 +46,7 @@ _compatibleUniformClasses = EP select {(3 in getArray(_x >> "modelSides")) && !( _compatibleUniforms = []; { _uniform = getText(_x >> "uniformClass"); - if (_uniform != "") then { + if !(_uniform in ["","-"]) then { _compatibleUniforms pushBackUnique _uniform; }; } forEach _compatibleUniformClasses; @@ -57,6 +57,7 @@ _badUniforms = []; _badUniforms pushBackUnique _x; }; } forEach _existing; +EP = _badUniforms; // remove _finalUniforms = _compatibleUniforms - _existing;