config: Save multiplayer settings only globally
Saved multiplayer settings like the nickname, remote address, etc. were reset everytime a game was booted up and the game-specific config files were loaded, as these values will never be set.
This commit is contained in:
parent
9fdacb5e3a
commit
1df5d12b19
@ -941,7 +941,6 @@ void Config::ReadValues() {
|
|||||||
ReadRendererValues();
|
ReadRendererValues();
|
||||||
ReadAudioValues();
|
ReadAudioValues();
|
||||||
ReadSystemValues();
|
ReadSystemValues();
|
||||||
ReadMultiplayerValues();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::SavePlayerValue(std::size_t player_index) {
|
void Config::SavePlayerValue(std::size_t player_index) {
|
||||||
@ -1099,7 +1098,6 @@ void Config::SaveValues() {
|
|||||||
SaveRendererValues();
|
SaveRendererValues();
|
||||||
SaveAudioValues();
|
SaveAudioValues();
|
||||||
SaveSystemValues();
|
SaveSystemValues();
|
||||||
SaveMultiplayerValues();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::SaveAudioValues() {
|
void Config::SaveAudioValues() {
|
||||||
|
Loading…
Reference in New Issue
Block a user