diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php
index c6214056..bb24239f 100644
--- a/hwe/a_bestGeneral.php
+++ b/hwe/a_bestGeneral.php
@@ -211,10 +211,10 @@ $call = array(
);
$func = array(
- "getHorseName",
- "getWeapName",
- "getBookName",
- "getItemName"
+ "\\sammo\\getHorseName",
+ "\\sammo\\getWeapName",
+ "\\sammo\\getBookName",
+ "\\sammo\\getItemName"
);
for ($i=0; $i < 4; $i++) {
diff --git a/hwe/c_double.php b/hwe/c_double.php
index ba2cbb5b..73f0e2ee 100644
--- a/hwe/c_double.php
+++ b/hwe/c_double.php
@@ -135,8 +135,7 @@ if($command == 46) {
$query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
- //echo "";
- echo 'b_chiefcenter.php';//TODO:debug all and replace
+ header('location:b_chiefcenter.php');
} else {
$query = [];
foreach($turn as $turnIdx){
diff --git a/hwe/func_history.php b/hwe/func_history.php
index 4873c725..1d8c01db 100644
--- a/hwe/func_history.php
+++ b/hwe/func_history.php
@@ -93,7 +93,7 @@ function pushGenLog($general, $log) {
}
function getGenLogRecent(int $no, int $count) {
- return join('
', getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300));
+ return join('
', array_reverse(getFormattedFileLogRecent("logs/gen{$no}.txt", $count, 300)));
}
function pushBatRes($general, $log) {