Skip to content

Commit

Permalink
update EternalHighPriest setting based on national calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Apr 4, 2024
1 parent a0f54a9 commit 256409b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions includes/LitCalAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ private function updateSettingsBasedOnNationalCalendar() : void {
) {
$this->LitSettings->CorpusChristi = $this->NationalData->Settings->CorpusChristi;
}
if(
property_exists( $this->NationalData->Settings, 'EternalHighPriest' )
&& is_bool( $this->NationalData->Settings->EternalHighPriest )
) {
$this->LitSettings->EternalHighPriest = $this->NationalData->Settings->EternalHighPriest;
}
if(
property_exists( $this->NationalData->Settings, 'Locale' )
&& LitLocale::isValid( $this->NationalData->Settings->Locale )
Expand Down

0 comments on commit 256409b

Please # to comment.