config: Reset per-game profile name on load if empty

This commit is contained in:
t895
2024-02-16 21:07:03 -05:00
parent a251f77556
commit dc2c302a84
3 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,7 @@ void SdlConfig::ReadSdlPlayerValues(const std::size_t player_index) {
if (profile_name.empty()) {
// Use the global input config
player = Settings::values.players.GetValue(true)[player_index];
player.profile_name = "";
return;
}
}