Machine-code cleanup (#28489)

This commit is contained in:
Nemanja
2024-07-25 01:11:54 +02:00
committed by null
parent e92d9031b3
commit e057218952
35 changed files with 435 additions and 979 deletions
+9
View File
@@ -71,6 +71,15 @@ namespace Content.Server.Stack
return entity;
}
/// <summary>
/// Spawns a stack of a certain stack type. See <see cref="StackPrototype"/>.
/// </summary>
public EntityUid Spawn(int amount, ProtoId<StackPrototype> id, EntityCoordinates spawnPosition)
{
var proto = _prototypeManager.Index(id);
return Spawn(amount, proto, spawnPosition);
}
/// <summary>
/// Spawns a stack of a certain stack type. See <see cref="StackPrototype"/>.
/// </summary>