| 144 | OPTSChunkHandler() : ChunkHandler('OPTS', CH_READONLY) {} |
| 145 | |
| 146 | void Load() const override |
| 147 | { |
| 148 | /* Copy over default setting since some might not get loaded in |
| 149 | * a networking environment. This ensures for example that the local |
| 150 | * autosave-frequency stays when joining a network-server */ |
| 151 | PrepareOldDiffCustom(); |
| 152 | LoadSettings(_old_gameopt_settings, &_settings_game, _gameopt_sl_compat); |
| 153 | HandleOldDiffCustom(true); |
| 154 | } |
| 155 | }; |
| 156 | |
| 157 | struct PATSChunkHandler : ChunkHandler { |
nothing calls this directly
no test coverage detected