Skip to content

Commit

Permalink
added SOF to isUnit check so that SOF can now render with Echelons
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Spinelli committed Jan 30, 2018
1 parent 983b629 commit 8efb234
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/js/src/armyc2/c2sd/renderer/utilities/SymbolUtilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -2049,9 +2049,10 @@ armyc2.c2sd.renderer.utilities.SymbolUtilities.rendererSettings = armyc2.c2sd.re
*/
armyc2.c2sd.renderer.utilities.SymbolUtilities.isUnit = function (strSymbolID){

var blRetVal = ((strSymbolID.charAt(0) === ('S')) &&
var blRetVal = (((strSymbolID.charAt(0) === ('S')) &&
(strSymbolID.charAt(2) === ('G')) &&
(strSymbolID.charAt(4) === ('U')));
(strSymbolID.charAt(4) === ('U'))) ||
this.isSOF(strSymbolID));
return blRetVal;

};
Expand Down

0 comments on commit 8efb234

Please sign in to comment.