Machine-code cleanup (#28489)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user