버그 수정

This commit is contained in:
2020-04-25 20:47:11 +09:00
parent bf651ecad2
commit 0ff098c2dd
3 changed files with 82 additions and 8 deletions
@@ -210,7 +210,9 @@ class che_랜덤임관 extends Command\GeneralCommand{
$randVals[] = [$testNation, 1/$testNation['cnt']];
}
$destNation = Util::choiceRandomUsingWeightPair($randVals);
if($randVals){
$destNation = Util::choiceRandomUsingWeightPair($randVals);
}
}
$logger = $general->getLogger();