버그 수정

This commit is contained in:
2019-04-21 21:15:53 +09:00
parent 16fed754a9
commit 0e50216cee
12 changed files with 67 additions and 42 deletions
+3 -2
View File
@@ -57,14 +57,15 @@ class che_징병 extends Command\GeneralCommand{
if(!is_int($crewType)){
return false;
}
if(!is_int($amount)){
if(!is_numeric($amount)){
return false;
}
$amount = (int)$amount;
if(GameUnitConst::byID($crewType) === null){
return false;
}
if($amount < 100){
if($amount < 0){
return false;
}
$this->arg = [