summaryrefslogtreecommitdiff
path: root/src/game-server/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/map.h')
-rw-r--r--src/game-server/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/map.h b/src/game-server/map.h
index eca36863..28faed7f 100644
--- a/src/game-server/map.h
+++ b/src/game-server/map.h
@@ -80,8 +80,8 @@ class MapObject
mProperties.insert(key, value);
}
- std::string getProperty(const std::string &key) const
- { return mProperties.find(key); }
+ const std::string &getProperty(const std::string &key) const
+ { return mProperties.value(key); }
const std::string &getName() const
{ return mName; }