diff --git a/logic/GameClass/GameObj/Team.cs b/logic/GameClass/GameObj/Team.cs index 8a65a56a..3f9e828e 100755 --- a/logic/GameClass/GameObj/Team.cs +++ b/logic/GameClass/GameObj/Team.cs @@ -35,12 +35,14 @@ public Team(Home home) ship.CanMove.SetROri(false); ship.IsRemoved.SetROri(true); }); + /* ShipPool.Initiate(ShipType.CivilShip, GameData.MaxCivilShipNum, () => new(GameData.ShipRadius, ShipType.CivilShip, MoneyPool)); ShipPool.Initiate(ShipType.WarShip, GameData.MaxWarShipNum, () => new(GameData.ShipRadius, ShipType.WarShip, MoneyPool)); ShipPool.Initiate(ShipType.FlagShip, GameData.MaxFlagShipNum, () => new(GameData.ShipRadius, ShipType.FlagShip, MoneyPool)); + */ } public void AddMoney(long add) { diff --git a/logic/Gaming/Game.cs b/logic/Gaming/Game.cs index ccfd44d7..02c9cc0d 100755 --- a/logic/Gaming/Game.cs +++ b/logic/Gaming/Game.cs @@ -37,7 +37,7 @@ public long AddPlayer(PlayerInitInfo playerInitInfo) { return GameObj.invalidID; } - //teamList[(int)playerInitInfo.teamID].AddShip(newShip); + teamList[(int)playerInitInfo.teamID].ShipPool.Append(newShip); return newShip.PlayerID; } else