summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-09-02 12:53:20 -0400
committerShadowNinja <shadowninja@minetest.net>2014-10-01 18:44:36 -0400
commite9c9b66ae92f4b95061d2b93e5db182d0c80b526 (patch)
tree11dadc5c6fff4e2060401e4cc552593ba6c53a8b /src/environment.cpp
parent8b3135a64350a045dbb0b9a6ce1dad61cba0c532 (diff)
downloadminetest-e9c9b66ae92f4b95061d2b93e5db182d0c80b526.tar.gz
minetest-e9c9b66ae92f4b95061d2b93e5db182d0c80b526.tar.bz2
minetest-e9c9b66ae92f4b95061d2b93e5db182d0c80b526.zip
Make players check inventory modification properly
Diffstat (limited to 'src/environment.cpp')
-rw-r--r--src/environment.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/environment.cpp b/src/environment.cpp
index 4106ecdf5..8977ee673 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -478,6 +478,7 @@ Player *ServerEnvironment::loadPlayer(const std::string &playername)
if (newplayer) {
addPlayer(player);
}
+ player->setModified(false);
return player;
}