private void PlayerRespawn() { if (isPlayerDead) { _ = Instantiate(player, playerSpawn.position, playerSpawn.rotation); rulebook.updatePlayerDeaths(); isPlayerDead = false; setPlayerHealth(startPlayerHealth); } }
private void PlayerRespawn() { if (isPlayerDead) { _ = Instantiate(player, playerSpawn.position, playerSpawn.rotation); rulebook.updatePlayerDeaths(); isPlayerDead = false; setPlayerHealth(startPlayerHealth); } }