mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-02-13 03:33:38 +00:00
Began server auto-hook
This commit is contained in:
parent
b9d248abfb
commit
0a77531cd9
1 changed files with 9 additions and 0 deletions
|
|
@ -297,6 +297,15 @@ package DXAI_Hooks
|
|||
}
|
||||
}
|
||||
|
||||
function CreateServer(%mission, %missionType)
|
||||
{
|
||||
// Perform the default exec's
|
||||
parent::CreateServer(%mission, %missionType);
|
||||
|
||||
// Ensure that the DXAI is active.
|
||||
$DXAI::System::InvalidatedEnvironment = true;
|
||||
}
|
||||
|
||||
// Make this do nothing so the bots don't ever get any objectives by default
|
||||
function DefaultGame::AIChooseGameObjective(%game, %client) { return 11595; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue