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:
parent
5e075c3344
commit
929e0b0ad8
3 changed files with 7 additions and 3 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue