Skip to content

Commit 6c799b0

Browse files
committed
Changed NetworkedBehaviour isOwner to public
1 parent 8e2db51 commit 6c799b0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ public bool isLocalPlayer
2020
return networkedObject.isLocalPlayer;
2121
}
2222
}
23+
public bool isOwner
24+
{
25+
get
26+
{
27+
return networkedObject.isOwner;
28+
}
29+
}
2330
protected bool isServer
2431
{
2532
get
@@ -41,13 +48,6 @@ protected bool isHost
4148
return NetworkingManager.singleton.isHost;
4249
}
4350
}
44-
protected bool isOwner
45-
{
46-
get
47-
{
48-
return networkedObject.isOwner;
49-
}
50-
}
5151
public NetworkedObject networkedObject
5252
{
5353
get

0 commit comments

Comments
 (0)