|
@@ -48,10 +48,7 @@ namespace ET.Server
|
|
|
|
|
|
foreach (StartSceneConfig config in list.Where(config => config != null && config.Id == serverId))
|
|
|
{
|
|
|
- for (int i = 1; i <= 4; i++)
|
|
|
- {
|
|
|
- MessageHelper.SendActor(config.InstanceId, new R2G_AddUnitsToMap() { OpenId = (i * 100).ToString(), RoomId = roomId});
|
|
|
- }
|
|
|
+ MessageHelper.SendActor(config.InstanceId, new R2G_AddUnitsToMap() { OpenId = openId, RoomId = roomId});
|
|
|
break;
|
|
|
}
|
|
|
|