Skip to content

Commit

Permalink
v1.6.7.0-beta rc4
Browse files Browse the repository at this point in the history
  • Loading branch information
ipodtouch0218 committed Jul 20, 2022
1 parent 692c86f commit 81dcaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Entity/Player/PlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1198,8 +1198,6 @@ public void PreRespawn() {

[PunRPC]
public void Respawn(PhotonMessageInfo info) {
if (info.Sender != photonView.Owner)
return;

gameObject.SetActive(true);
dead = false;
Expand Down Expand Up @@ -1242,6 +1240,8 @@ public void Respawn(PhotonMessageInfo info) {

if (photonView.IsMine)
ScoreboardUpdater.instance.OnRespawnToggle();

UpdateGameState();
}
#endregion

Expand Down

0 comments on commit 81dcaaf

Please # to comment.