mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-01-19 18:14:45 +00:00
Began server auto-hook
This commit is contained in:
parent
b9d248abfb
commit
0a77531cd9
|
|
@ -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…
Reference in a new issue