정착장려, 주민선정 색상 문제

This commit is contained in:
2020-05-18 23:24:17 +09:00
parent 1e485a3883
commit 5a6a31fefa
2 changed files with 2 additions and 2 deletions
@@ -87,7 +87,7 @@ class che_정착장려 extends Command\GeneralCommand{
}
public function getCompensationStyle():?int{
return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100);
return $this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100)<=>100;
}
public function getPreReqTurn():int{
@@ -87,7 +87,7 @@ class che_주민선정 extends Command\GeneralCommand{
}
public function getCompensationStyle():?int{
return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100);
return $this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100)<=>100;
}
public function getPreReqTurn():int{