general.turn0 기반 코드 일부를 general_turn 기반으로 변경

This commit is contained in:
2018-10-04 01:18:23 +09:00
parent f5212b4aa1
commit 9b4bf148cc
8 changed files with 55 additions and 122 deletions
+1 -6
View File
@@ -188,12 +188,7 @@ function command_99($turn) {
$me = MYDB_fetch_array($result);
if($me['level'] >= 5) {
$command = EncodeCommand(0, 0, 0, 99);
for($i=0; $i < count($turn); $i++) {
$query = "update nation set l{$me['level']}turn{$turn[$i]}='{$command}' where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
setNationCommand($me['nation'], $me['level'], [0], 'che_휴식');
}
header('location:b_chiefcenter.php');