game: 국가 임관 시, 기존 등용장 무효화

This commit is contained in:
Hide_D committed 2023-07-11 22:47:24 +10:00
1 parent 246751b4dd
commit 376aed9787
4 files changed
+15 -5

No files matched your search

@@ -22,8 +22,7 @@ use \sammo\Constraint\ConstraintHelper;
use sammo\CityConst;
use sammo\Enums\InheritanceKey;
use sammo\MustNotBeReachedException;
use sammo\ScoutMessage;
class che_랜덤임관 extends Command\GeneralCommand
{
@@ -284,6 +283,8 @@ class che_랜덤임관 extends Command\GeneralCommand
tryUniqueItemLottery(genGenericUniqueRNGFromGeneral($general), $general, '랜덤 임관');
$general->applyDB($db);
ScoutMessage::invalidateAll($general->getID());
return true;
}
}