forked from mirrors/0ad
Only save MP match settings if the player is the controller
Broken in 72f0fdb41b.
Differential Revision: https://code.wildfiregames.com/D4112
This was SVN commit r25732.
This commit is contained in:
@@ -296,8 +296,9 @@ class GameSettingsController
|
||||
|
||||
savePersistentMatchSettings()
|
||||
{
|
||||
// TODO: ought to only save a subset of settings.
|
||||
this.persistentMatchSettings.saveFile(this.getSettings());
|
||||
if (g_IsController)
|
||||
// TODO: ought to only save a subset of settings.
|
||||
this.persistentMatchSettings.saveFile(this.getSettings());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user