diff --git a/hwe/sammo/ActionLogger.php b/hwe/sammo/ActionLogger.php index df15bf2b..b77ec2a2 100644 --- a/hwe/sammo/ActionLogger.php +++ b/hwe/sammo/ActionLogger.php @@ -42,6 +42,16 @@ class ActionLogger{ } } + public function rollback(){ + $this->generalHistoryLog = []; + $this->generalActionLog = []; + $this->generalBattleResultLog = []; + $this->generalBattleDetailLog = []; + $this->nationalHistoryLog = []; + $this->globalHistoryLog = []; + $this->globalActionLog = []; + } + public function flush(){ $db = DB::db();