버그 수정
This commit is contained in:
1 parent
ba968d6ff7
commit
9ecf6d3735
3 files changed
+82
-8
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user