버그 수정

This commit is contained in:
2019-10-09 12:12:23 +09:00
parent 241bf62fdc
commit d750167a00
3 changed files with 17 additions and 15 deletions
+5 -1
View File
@@ -119,7 +119,11 @@ class che_포상 extends Command\NationCommand{
$resName = $isGold?'금':'쌀';
$destGeneral = $this->destGeneralObj;
$amount = Util::valueFit($amount, 0, $nation[$resKey] - ($isGold?GameConst::$basegold:GameConst::$baserice));
$amount = Util::valueFit(
$amount,
0,
$nation[$resKey] - ($isGold?GameConst::$basegold:GameConst::$baserice)
);
$amountText = number_format($amount, 0);
$logger = $general->getLogger();