mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-02-24 00:53:36 +00:00
CyclicSet; commander task distribution; fixed AIScoutLocation
This commit is contained in:
parent
088d7fee8e
commit
92007e9bc7
7 changed files with 218 additions and 37 deletions
|
|
@ -12,6 +12,8 @@ exec("scripts/DXAI/helpers.cs");
|
|||
exec("scripts/DXAI/config.cs");
|
||||
exec("scripts/DXAI/aicommander.cs");
|
||||
exec("scripts/DXAI/aiconnection.cs");
|
||||
exec("scripts/DXAI/priorityqueue.cs");
|
||||
exec("scripts/DXAI/cyclicset.cs");
|
||||
|
||||
// General DXAI API implementations
|
||||
function DXAI::cleanup()
|
||||
|
|
@ -90,6 +92,9 @@ function DXAI::update()
|
|||
if (isEventPending($DXAI::updateHandle))
|
||||
cancel($DXAI::updateHandle);
|
||||
|
||||
if (!isObject(Game))
|
||||
return;
|
||||
|
||||
// Check if the bound functions are overwritten by the current gamemode, or if something
|
||||
// may have invalidated our hooks
|
||||
if ($DXAI::System::InvalidatedEnvironment && $DXAI::System::Setup)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue