Skip to content

Commit

Permalink
Merge pull request #271 from Nestorboy/cache-player
Browse files Browse the repository at this point in the history
Amended isInstanceOwner check
  • Loading branch information
pema99 authored Aug 12, 2023
2 parents bae98eb + 04b9f73 commit 009dfad
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.IsInstanceOwner?1.0f:0.0f,
Networking.LocalPlayer != null && Networking.LocalPlayer.isInstanceOwner?1.0f:0.0f,
#endif
0));

Expand Down

0 comments on commit 009dfad

Please sign in to comment.