버그 수정

This commit is contained in:
2019-04-21 11:43:23 +09:00
parent a21eef6e84
commit b4b6f5a1f7
56 changed files with 77 additions and 73 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ class BeOpeningPart extends Constraint{
protected $relYear;
public function checkInputValues(bool $throwExeception=true){
if(!parent::checkInputValues($throwExeception) && !$throwException){
if(!parent::checkInputValues($throwExeception) && !$throwExeception){
return false;
}
@@ -21,7 +21,7 @@ class BeOpeningPart extends Constraint{
$this->checkInputValues();
$this->tested = true;
if($relYear < GameConst::$openingPartYear){
if($this->relYear < GameConst::$openingPartYear){
return true;
}