백동 버그 수정

This commit is contained in:
2020-05-08 03:09:20 +09:00
parent 7bb6a9615c
commit ed3313b2bc
2 changed files with 3 additions and 3 deletions
@@ -72,8 +72,8 @@ class che_백성동원 extends Command\NationCommand{
$this->fullConditionConstraints=[
ConstraintHelper::OccupiedCity(),
ConstraintHelper::BeChief(),
ConstraintHelper::AllowDiplomacyStatus($this->generalObj->getNationID(), [
0
ConstraintHelper::DisallowDiplomacyStatus($this->generalObj->getNationID(), [
2, 7
], '전쟁중이 아닙니다.'),
ConstraintHelper::OccupiedDestCity(),
ConstraintHelper::AvailableStrategicCommand()
@@ -53,7 +53,7 @@ class AllowDiplomacyStatus extends Constraint{
$db = DB::db();
$state = $db->queryFirstField(
'SELECT state FROM diplomacy WHERE me = %i AND `state` NOT IN %li LIMIT 1',
'SELECT state FROM diplomacy WHERE me = %i AND `state` IN %li LIMIT 1',
$this->nationID,
$this->allowStatus
);