aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-01-21 17:30:55 +0100
committerGitHub <noreply@github.com>2017-01-21 17:30:55 +0100
commitbc29e03b597be350fa856b1ae3d8623778a808b3 (patch)
treee43501d0b6edddd83404997e53c38156860f5160 /src/server.cpp
parentb9c1a758a1e987dfb0284c08dd96d4d17114882f (diff)
downloadminetest-bc29e03b597be350fa856b1ae3d8623778a808b3.tar.gz
minetest-bc29e03b597be350fa856b1ae3d8623778a808b3.tar.bz2
minetest-bc29e03b597be350fa856b1ae3d8623778a808b3.zip
Revert "Detach the player from entities on death." (#5087)
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 1e5704042..1656b9f5a 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -2560,8 +2560,6 @@ void Server::DiePlayer(u16 peer_id)
if (!playersao)
return;
- playersao->detachFromParent();
-
infostream << "Server::DiePlayer(): Player "
<< playersao->getPlayer()->getName()
<< " dies" << std::endl;