Remove some more unused fields

This commit is contained in:
metalgearsloth
2021-10-13 17:38:20 +11:00
parent 7fe7c46373
commit 07303e7a4b
7 changed files with 2 additions and 16 deletions

View File

@@ -32,8 +32,6 @@ namespace Content.Server.Kitchen.Components
void IActivate.Activate(ActivateEventArgs eventArgs)
{
SpriteComponent? sprite;
if (_meatParts == 0)
{
return;
@@ -43,10 +41,7 @@ namespace Content.Server.Kitchen.Components
if (!string.IsNullOrEmpty(_meatPrototype))
{
var meat = Owner.EntityManager.SpawnEntity(_meatPrototype, Owner.Transform.Coordinates);
if (meat != null)
{
meat.Name = _meatName;
}
meat.Name = _meatName;
}
if (_meatParts != 0)