move HackyAI bot from world to player context
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.RA
|
||||
var player = new Player(w, w.Map.Players[slot.MapPlayer], playerIndex++);
|
||||
w.AddPlayer(player);
|
||||
|
||||
/* todo: init its bot -- but only on the host! */
|
||||
/* todo: only activate the bot option that's selected! */
|
||||
if (Game.IsHost)
|
||||
foreach (var bot in player.PlayerActor.TraitsImplementing<IBot>())
|
||||
bot.Activate(player);
|
||||
|
||||
@@ -83,6 +83,7 @@ Player:
|
||||
InitialCash: 5000
|
||||
ActorGroupProxy:
|
||||
DeveloperMode:
|
||||
HackyAI:
|
||||
|
||||
|
||||
World:
|
||||
@@ -180,7 +181,6 @@ World:
|
||||
SpatialBins:
|
||||
BinSize: 4
|
||||
Shroud:
|
||||
HackyAI:
|
||||
|
||||
MINP:
|
||||
Mine:
|
||||
|
||||
Reference in New Issue
Block a user