mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Revert "Detach the player from entities on death." (#5087)
This commit is contained in:
parent
b9c1a758a1
commit
bc29e03b59
5 changed files with 14 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue