isClose함수 재설계
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ function processAI($connect, $no) {
|
||||
for($i=0; $i < $nationCount; $i++) {
|
||||
$youNation = MYDB_fetch_array($result);
|
||||
|
||||
if(isClose($connect, $general['nation'], $youNation['nation'])) {
|
||||
if(isClose($general['nation'], $youNation['nation'])) {
|
||||
$command = EncodeCommand(0, 0, $youNation['nation'], 62);
|
||||
$query = "update nation set l12turn0='$command' where nation='{$general['nation']}'";
|
||||
MYDB_query($query, $connect) or Error("processAI09 ".MYDB_error($connect),"");
|
||||
|
||||
Reference in New Issue
Block a user