mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 02:56:01 +01:00
fix(simulation): a scenery's config block can't turn back on what a test keeps off
The config block of a scenery is read like the settings files, after the test mode settings were applied, so a scenery with soundenabled, multiplayer, execonexit, feedbackmode or the like in it got them back in a test run. The test mode settings now are applied again after each config block of the scenery; apply_test_mode_settings() moved to simulationtest.cpp for that.
This commit is contained in:
@@ -53,4 +53,9 @@ private:
|
||||
// the test of the run
|
||||
test_manager &test();
|
||||
|
||||
// the settings of the test mode, over whatever the settings files and the scenery say: applied once the command
|
||||
// line is read, and again after each config block of the scenery, which could turn the sound, the network or the
|
||||
// program run at the end back on
|
||||
void apply_test_mode_settings();
|
||||
|
||||
} // namespace simulation
|
||||
|
||||
Reference in New Issue
Block a user