Add new entity spawn test & fix misc bugs (#19953)
This commit is contained in:
@@ -110,7 +110,8 @@ namespace Content.Server.Kitchen.EntitySystems
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
if (component.PrototypesToSpawn?.Count > 0) {
|
||||
if (component.PrototypesToSpawn?.Count > 0)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("comp-kitchen-spike-knife-needed"), uid, args.User);
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user