summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index bdb7c08c2..4bd7b637e 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -94,7 +94,7 @@ namespace
std::map<std::string, PlayerRelation *>
*const container) const override final
{
- if (!cobj)
+ if (!cobj || !container)
return container;
const std::string name = cobj->getValue(NAME, "");
if (name.empty())