턴 실행 순서 조정

This commit is contained in:
2020-05-08 03:31:17 +09:00
parent a49695ace7
commit c46d9fd04a
+3 -1
View File
@@ -264,12 +264,14 @@ WHERE turntime < %s ORDER BY turntime ASC, `no` ASC',
$autorunMode = false;
$ai = null;
$turnObj->preprocessCommand();
if($general->getVar('npc') >= 2 || ($autorun_user['limit_minutes']??false)){
$ai = new GeneralAI($turnObj->getGeneral());
}
if(!$turnObj->processBlocked()){
$turnObj->preprocessCommand();
if($hasNationTurn){
if($ai){
$nationCommandObj = $ai->chooseNationTurn($nationCommandObj);