void revivePlayer(Transform player) { CharacterProperty property = player.GetComponent <CharacterProperty>(); if (property.death && property.Ready) { currentSel.ReviveCommand(player); if (npcMode && currentSel.player == playerB) { npc.ReviveSummoner(player); npc.InMove = true; } } }