Skip to content

Commit 424fbeb

Browse files
committed
rename test network objects
1 parent 9e2e880 commit 424fbeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/NetworkObject/NetworkObjectDontDestroyWithOwnerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public NetworkObjectDontDestroyWithOwnerTests(HostOrServer hostOrServer) : base(
3737

3838
protected override void OnServerAndClientsCreated()
3939
{
40-
m_DontDestroyWithOwnerPrefab = CreateNetworkObjectPrefab("DestroyWith");
40+
m_DontDestroyWithOwnerPrefab = CreateNetworkObjectPrefab("DontDestroyWith");
4141
m_DontDestroyWithOwnerPrefab.GetComponent<NetworkObject>().DontDestroyWithOwner = true;
4242

43-
m_DestroyWithOwnerPrefab = CreateNetworkObjectPrefab("DontDestroyWith");
43+
m_DestroyWithOwnerPrefab = CreateNetworkObjectPrefab("DestroyWith");
4444

4545
m_PrefabNoObserversSpawn = CreateNetworkObjectPrefab("NoObserversObject");
4646
var prefabNoObserversNetworkObject = m_PrefabNoObserversSpawn.GetComponent<NetworkObject>();

0 commit comments

Comments
 (0)