
# --> (@EVENT: clicked the "yes; respawn" in the singleplayer death screen /// ID: 100,011)

# -> Reset time
function overly_realistic:general/day_night_cycle/reset_time

# -> Remove the HasBeenDownedBefore tag
tag @s remove OverlyRealistic.Player.HasBeenDownedBefore

# -> Heal player
effect give @s instant_health 1 200 true

# -> Respawn randomly
function overly_realistic:players/revive/randomized_respawning/respawn_player
