update code for the new internal name for enlightened - was ALIENS, now ENLIGHTENED

This commit is contained in:
Jon Atkins
2013-07-31 20:15:14 +01:00
parent b857998c23
commit f5d8587955
6 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
// to. Uses TEAM_* enum values.
window.getTeam = function(details) {
var team = TEAM_NONE;
if(details.controllingTeam.team === 'ALIENS') team = TEAM_ENL;
if(details.controllingTeam.team === 'ALIENS' || details.controllingTeam.team === 'ENLIGHTENED') team = TEAM_ENL;
if(details.controllingTeam.team === 'RESISTANCE') team = TEAM_RES;
return team;
}