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
Kexanone authored Oct 24, 2024
1 parent bfef03b commit d3db65f
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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);
}
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit d3db65f

Please sign in to comment.