summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-07 13:01:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-07 13:01:35 +0300
commit1e425f90290ec25221a88abf464ad4d3e01d518f (patch)
tree962ce0bd1d0c86b6c1ba9c1051d4bbde573b10a8
parent4cb9439d01c50141ce14e24180b50e20d17895d6 (diff)
downloadplus-1e425f90290ec25221a88abf464ad4d3e01d518f.tar.gz
plus-1e425f90290ec25221a88abf464ad4d3e01d518f.tar.bz2
plus-1e425f90290ec25221a88abf464ad4d3e01d518f.tar.xz
plus-1e425f90290ec25221a88abf464ad4d3e01d518f.zip
Fix players relations storing if switch server.
-rw-r--r--src/being/playerrelations.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index c844f7801..f0d635561 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -348,6 +348,7 @@ void PlayerRelationsManager::setRelation(const std::string &player_name,
r->mRelation = relation;
signalUpdate(player_name);
+ store();
}
StringVect *PlayerRelationsManager::getPlayers() const