diff --git a/hwe/func_command.php b/hwe/func_command.php index f9e96d55..579bab88 100644 --- a/hwe/func_command.php +++ b/hwe/func_command.php @@ -536,6 +536,9 @@ function processCommand($no) { } elseif($command[0] == 0) { $query = "update general set recturn=turn0,resturn='FAIL',myset=3,con=0,killturn=killturn-1 where no='{$general['no']}'"; MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); + } else { + $query = "update general set recturn=turn0,resturn='FAIL',myset=3,con=0,killturn='{$admin['killturn']}' where no='{$general['no']}'"; + MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); } //FIXME: 운영자 같이 사망하면 안되는 인물에 대한 처리가 필요