군량매매 버그 수정

This commit is contained in:
2020-04-25 05:28:43 +09:00
parent 4e7529ae44
commit 6b54797aec
2 changed files with 6 additions and 6 deletions
@@ -148,7 +148,7 @@ class che_군량매매 extends Command\GeneralCommand{
}
$general->increaseVar($buyKey, $buyAmount);
$general->increaseVarWithLimit($sellKey, $sellAmount, 0);
$general->increaseVarWithLimit($sellKey, -$sellAmount, 0);
$db->update('nation', [
'gold'=>$db->sqleval('gold + %i', $tax)