Skip to content

Commit dd9796e

Browse files
committed
clean up
1 parent 304708a commit dd9796e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Reactor/Utilities/InnerNetObjectManager.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static class InnerNetObjectManager
2626
}
2727

2828
/// <summary>
29-
/// Spawns a new instance of a <see cref="InnerNetObject"/> of type <typeparamref name="T"/>.
29+
/// Spawns a new <see cref="InnerNetObject"/> locally and on the network of type <typeparamref name="T"/>.
3030
/// </summary>
3131
/// <typeparam name="T">The type of the <see cref="InnerNetObject"/> to spawn. Must inherit from <see cref="InnerNetObject"/>.</typeparam>
3232
/// <param name="ownerId">The owner ID for the spawned object. Defaults to -2, which typically means no specific owner.</param>
@@ -49,11 +49,10 @@ public static class InnerNetObjectManager
4949
/// <summary>
5050
/// Spawns an existing <see cref="InnerNetObject"/> instance on the network.
5151
/// </summary>
52-
/// <typeparam name="T">The type of the <see cref="InnerNetObject"/> being spawned. Must inherit from <see cref="InnerNetObject"/>.</typeparam>
5352
/// <param name="netObj">The <see cref="InnerNetObject"/> instance to spawn.</param>
5453
/// <param name="ownerId">The owner ID for the spawned object. Defaults to -2, which typically means no specific owner.</param>
5554
/// <param name="spawnFlags">The spawn flags to use when spawning the object. Defaults to <see cref="SpawnFlags.None"/>.</param>
56-
public static void SpawnNetObject<T>(this InnerNetObject netObj, int ownerId = -2, SpawnFlags spawnFlags = SpawnFlags.None) where T : InnerNetObject
55+
public static void SpawnNetObject(this InnerNetObject netObj, int ownerId = -2, SpawnFlags spawnFlags = SpawnFlags.None)
5756
{
5857
AmongUsClient.Instance.Spawn(netObj, ownerId, spawnFlags);
5958
}

0 commit comments

Comments
 (0)