(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick
This commit is contained in:
@@ -789,3 +789,8 @@ bool AIInstance::CallLoad()
|
||||
sq_pop(vm, 4);
|
||||
return true;
|
||||
}
|
||||
|
||||
SQInteger AIInstance::GetOpsTillSuspend()
|
||||
{
|
||||
return this->engine->GetOpsTillSuspend();
|
||||
}
|
||||
|
Reference in New Issue
Block a user