mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-01-19 18:14:45 +00:00
Server will try and auto-assign bots now
This commit is contained in:
parent
92007e9bc7
commit
57a25dd872
|
|
@ -44,6 +44,8 @@ function DXAI::setup(%numTeams)
|
|||
%commander.setup();
|
||||
|
||||
$DXAI::ActiveCommander[%iteration] = %commander;
|
||||
%commander.loadObjectives();
|
||||
%commander.assignTasks();
|
||||
}
|
||||
|
||||
// And setup the default values
|
||||
|
|
@ -104,7 +106,7 @@ function DXAI::update()
|
|||
$DXAI::ActiveCommander[%iteration].update();
|
||||
|
||||
// Apparently we can't schedule a bound function otherwise
|
||||
$DXAI::updateHandle = schedule(32,0,"eval", "DXAI::update();");
|
||||
$DXAI::updateHandle = schedule(32, 0, "eval", "DXAI::update();");
|
||||
}
|
||||
|
||||
function DXAI::notifyPlayerDeath(%killed, %killedBy)
|
||||
|
|
|
|||
Loading…
Reference in a new issue