Skip to content

Commit

Permalink
Fix radar/unit design in campaign for away missions.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersphinx committed Feb 10, 2012
1 parent 911dda3 commit 391ffb6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/base/script/rules.js
Expand Up @@ -8,12 +8,17 @@ function eventStartLevel()
setMiniMap(false);
setDesign(false);

var structlist = enumStruct(me);
var structlist = enumStruct(me, HQ);
for (var i = 0; i < structlist.length; i++)
{
// Simulate build events to enable minimap/unit design when an HQ exists
eventStructureBuilt(structlist[i]);
}
structlist = enumStructOffWorld(me, HQ);
for (var i = 0; i < structlist.length; i++)
{
eventStructureBuilt(structlist[i]);
}
}

function eventStructureBuilt(struct)
Expand Down

0 comments on commit 391ffb6

Please sign in to comment.