mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue