summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-10-29 17:58:38 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-10-29 17:58:38 +0100
commit5649f2ecae088793fb87445a26b82f4d7451bc89 (patch)
treed11ebcc3f7aaa971a716abeb9f40f4a5fff91382 /src/playerrelations.h
parent6cd8881f1b11c99f8e72735017e743c50094e922 (diff)
downloadmana-master.tar.gz
mana-master.tar.bz2
mana-master.tar.xz
mana-master.zip
Fixed storing of player relationsHEADmaster
There were two issues here. First, the loading of the relations was triggering a storing of the settings before they were loaded. In effect, all the related settings were reset on every startup. And since storing of the relations wasn't enabled by default, they were always cleared. Second problem was in `PlayerConfSerialiser::readConfigItem`, which was never setting any relation because of an inverted condition introduced in 9a702e64449ba54fab28706c5b9c5ff9f2a41f8a.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index 45102fd9..2a43675e 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -95,11 +95,6 @@ public:
void init();
/**
- * Load configuration from our config file, or substitute defaults.
- */
- void load();
-
- /**
* Save configuration to our config file.
*/
void store();