mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
9d2682eb2a
commit
b202473bcf
@ -887,7 +887,7 @@ static void OnCommandMessage(NetworkConnection conn, CommandMessage msg)
|
|||||||
|
|
||||||
internal static void SpawnObject(GameObject obj)
|
internal static void SpawnObject(GameObject obj)
|
||||||
{
|
{
|
||||||
if (!NetworkServer.active)
|
if (!active)
|
||||||
{
|
{
|
||||||
Debug.LogError("SpawnObject for " + obj + ", NetworkServer is not active. Cannot spawn objects without an active server.");
|
Debug.LogError("SpawnObject for " + obj + ", NetworkServer is not active. Cannot spawn objects without an active server.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user