aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 8f2ec05ba..6f384e743 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1099,8 +1099,7 @@ PlayerSAO* Server::StageTwoClientInit(u16 peer_id)
SendInventory(playersao);
// Send HP
- if(g_settings->getBool("enable_damage"))
- SendPlayerHP(peer_id);
+ SendPlayerHPOrDie(peer_id, playersao->getHP() == 0);
// Send Breath
SendPlayerBreath(peer_id);