fix dumb name, at Bob's request

This commit is contained in:
Chris Forbes
2010-02-13 21:29:12 +13:00
parent 7c1b753536
commit 7c4cc02f7d
3 changed files with 3 additions and 3 deletions

View File

@@ -238,7 +238,7 @@ namespace OpenRa
: world.Map.SpawnPoints.ElementAt(client.SpawnPoint - 1);
foreach (var ssu in world.players[client.Index].PlayerActor
.traits.WithInterface<ISpawnStartingUnits>())
.traits.WithInterface<IOnGameStart>())
ssu.SpawnStartingUnits(world.players[client.Index], sp);
}

View File

@@ -3,7 +3,7 @@ namespace OpenRa.Traits
{
class SpawnDefaultUnitsInfo : StatelessTraitInfo<SpawnDefaultUnits> { }
class SpawnDefaultUnits : ISpawnStartingUnits
class SpawnDefaultUnits : IOnGameStart
{
public void SpawnStartingUnits(Player p, int2 sp)
{

View File

@@ -104,5 +104,5 @@ namespace OpenRa.Traits
public interface INotifySelection { void SelectionChanged(); }
public interface ILoadWorldHook { void WorldLoaded(World w); }
public interface ISpawnStartingUnits { void SpawnStartingUnits(Player p, int2 sp); }
public interface IOnGameStart { void SpawnStartingUnits(Player p, int2 sp); }
}