Skip to content

Commit

Permalink
Fix mission header settings from different components override each o…
Browse files Browse the repository at this point in the history
…ther (#125)

Call super for overrides of ApplyToSettingsConfig
  • Loading branch information
Kexanone authored Oct 24, 2024
1 parent bfef03b commit d3db65f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ modded class ACE_MissionHeaderSettings
//! Applies settings from mission header to config
override void ApplyToSettingsConfig(notnull ACE_SettingsConfig config)
{
super.ApplyToSettingsConfig(config);

if (m_ACE_Finger_Settings)
config.SetModSettings(m_ACE_Finger_Settings);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ modded class ACE_MissionHeaderSettings
//! Applies settings from mission header to config
override void ApplyToSettingsConfig(notnull ACE_SettingsConfig config)
{
super.ApplyToSettingsConfig(config);

if (m_ACE_Medical_Settings)
config.SetModSettings(m_ACE_Medical_Settings);
}
Expand Down

0 comments on commit d3db65f

Please sign in to comment.