Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
theace0296 committed Oct 28, 2021
1 parent 10baf5f commit 99a3e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RandFramework/Global/factions/fn_getUnitDataByFaction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private _units = [];

{
// We are using "icon" instead of "role" because the icon is better for determining unit role, since, for example, RHS doesn't correctly label the unit role.
// Also, discard VR, Unarmed, and Survivor units (Using vr[space] seems to catch the vr units correctly)
// Also, discard VR, Unarmed, Survivor, Story, and Parade units (Using vr[space] seems to catch the vr units correctly without getting false-positives)
private _badNames = ["vr ", "unarmed", "survivor", "story", "competitor", "parade dress"];
private _displayName = getText(_x >> "displayName");
private _fnc_displayNameOkay = { {[_x, _displayName] call BIS_fnc_inString} count _badNames isEqualTo 0 };
Expand Down

0 comments on commit 99a3e3f

Please sign in to comment.