1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 20:53:45 +01:00

Remove redundant on_dieplayer calls

This commit is contained in:
savilli
2021-08-28 12:14:16 +02:00
committed by GitHub
parent 1d69a23ba4
commit 3f1adb49ae
5 changed files with 3 additions and 40 deletions

View File

@@ -1079,8 +1079,7 @@ PlayerSAO* Server::StageTwoClientInit(session_t peer_id)
if (playersao->isDead())
SendDeathscreen(peer_id, false, v3f(0,0,0));
else
SendPlayerHPOrDie(playersao,
PlayerHPChangeReason(PlayerHPChangeReason::SET_HP));
SendPlayerHP(peer_id);
// Send Breath
SendPlayerBreath(playersao);