1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Give full breath after death

This commit is contained in:
SmallJoker 2015-02-04 09:00:34 +01:00 committed by Craig Robbins
parent 5e075c3344
commit 929e0b0ad8
3 changed files with 7 additions and 3 deletions

View file

@ -4294,6 +4294,7 @@ void Server::RespawnPlayer(u16 peer_id)
<<" respawns"<<std::endl;
playersao->setHP(PLAYER_MAX_HP);
playersao->setBreath(PLAYER_MAX_BREATH);
bool repositioned = m_script->on_respawnplayer(playersao);
if(!repositioned){