Build simulant names with the index counter rather than the simulant size
now that we resolve clients asynchronously. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1147 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SimulatorManager.java,v 1.7 2002/03/05 05:33:25 mdb Exp $
|
||||
// $Id: SimulatorManager.java,v 1.8 2002/03/26 01:30:37 shaper Exp $
|
||||
|
||||
package com.threerings.micasa.simulator.server;
|
||||
|
||||
@@ -137,7 +137,7 @@ public class SimulatorManager
|
||||
|
||||
// resolve client objects for all of our simulants
|
||||
for (int ii = 1; ii < _playerCount; ii++) {
|
||||
String username = "simulant" + (_sims.size() + 1);
|
||||
String username = "simulant" + ii;
|
||||
_clmgr.resolveClientObject(username, listener);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user