private void CfgOnSaved(GameConfig config) { Audio.MasterVolume = config.Settings.MasterVolume; Audio.Music.Volume = config.Settings.MusicVolume; }
public FreelancerGame(GameConfig config) : base(config.BufferWidth, config.BufferHeight, false, config.ForceAngle) { //DO NOT RUN CODE HERE. IT CAUSES THE STUPIDEST CRASH ON OSX KNOWN TO MAN _cfg = config; ScreenshotSave += FreelancerGame_ScreenshotSave; }