<Line 591, File: SRC\functions.pl>
# Process AI
if ($net->getState() == Network::IN_GAME && timeOut($timeout{ai}) && $net->serverAlive()) {
Misc::checkValidity("AI (pre)");
Benchmark::begin("ai") if DEBUG;
AI::CoreLogic::iterate();
Benchmark::end("ai") if DEBUG;
if ($char->{homunculus}) {
Benchmark::begin("ai_homunculus") if DEBUG;
AI::Homunculus::iterate();
Benchmark::end("ai_homunculus") if DEBUG;
}
Misc::checkValidity("AI");
return if $quit;
}
Piece of cake... Teehe!
