Skip to content

Commit

Permalink
Quick workaround for scavs going inactive after savegame loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Feb 4, 2012
1 parent 43fc328 commit 2417ba4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/mp/multiplay/script/scavfact.js
Expand Up @@ -2,7 +2,6 @@

// Various constants, declared here for convenience only
const maxDroids = 25; // max guys to handle.
const factory = "A0BaBaFactory";

// scav group
var attackGroup;
Expand All @@ -21,7 +20,7 @@ function activateProduction(fac)
function scavtick()
{
// enum functions now return a list of results
var factorylist = enumStruct(me, factory);
var factorylist = enumStruct(me, "A0BaBaFactory");

// one way of dealing with lists is running a function on each member of the list
if (factorylist)
Expand Down

0 comments on commit 2417ba4

Please sign in to comment.