fix: 유니크를 얻는 턴이 아니더라도 환불은 하도록 수정
This commit is contained in:
@@ -7,9 +7,11 @@ use \sammo\JosaUtil;
|
||||
use \sammo\LastTurn;
|
||||
use \sammo\DB;
|
||||
|
||||
use function sammo\tryRollbackInheritUniqueItem;
|
||||
|
||||
class 휴식 extends Command\GeneralCommand{
|
||||
static protected $actionName = '휴식';
|
||||
|
||||
|
||||
protected function argTest():bool{
|
||||
return true;
|
||||
}
|
||||
@@ -39,7 +41,7 @@ class 휴식 extends Command\GeneralCommand{
|
||||
$logger->pushGeneralActionLog("아무것도 실행하지 않았습니다. <1>$date</>");
|
||||
|
||||
$this->setResultTurn(new LastTurn());
|
||||
|
||||
tryRollbackInheritUniqueItem($general);
|
||||
$general->applyDB(DB::db());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user