moved BIM/UIM to World, and added World.CreateActor
This commit is contained in:
@@ -32,7 +32,7 @@ namespace OpenRa
|
||||
public Player( int index, Session.Client client )
|
||||
{
|
||||
Shroud = new Shroud(this);
|
||||
Game.world.Add(this.PlayerActor = new Actor("Player", new int2(int.MaxValue, int.MaxValue), this));
|
||||
this.PlayerActor = Game.world.CreateActor("Player", new int2(int.MaxValue, int.MaxValue), this);
|
||||
this.Index = index;
|
||||
this.InternalName = "Multi{0}".F(index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user