Skip to content

Commit

Permalink
Fixed null ref upon leaving
Browse files Browse the repository at this point in the history
* Used Networking.IsInstanceOwner instead of Networking.LocalPlayer.isInstanceOwner
  • Loading branch information
Nestorboy committed Aug 12, 2023
1 parent aae9052 commit 8ea997e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ private void FPSUpdate()
#if UNITY_EDITOR
0.0f,
#else
Networking.LocalPlayer.isInstanceOwner?1.0f:0.0f,
Networking.IsInstanceOwner?1.0f:0.0f,
#endif
0));

Expand Down

0 comments on commit 8ea997e

Please sign in to comment.