1
0
forked from 0ad/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:
wraitii 2021-06-07 11:45:14 +00:00
parent 09a33b6626
commit 7e9bb4d4e8

View File

@ -296,6 +296,7 @@ class GameSettingsController
savePersistentMatchSettings()
{
if (g_IsController)
// TODO: ought to only save a subset of settings.
this.persistentMatchSettings.saveFile(this.getSettings());
}