Allow full circle rotation with 2degs step for plantlike drawtype.
[oweals/minetest.git] / src / environment.cpp
index 845928a2080ab64a51195ca8ac753b8944897db0..24a498aa96b6c51414e16604458b4492ff9140a6 100644 (file)
@@ -462,6 +462,7 @@ Player *ServerEnvironment::loadPlayer(const std::string &playername)
                        return NULL;
                }
                testplayer.deSerialize(is, path);
+               is.close();
                if (testplayer.getName() == playername) {
                        *player = testplayer;
                        found = true;