Add new entity spawn test & fix misc bugs (#19953)

This commit is contained in:
Leon Friedrich
2023-10-20 15:29:43 +02:00
committed by Debug
parent 808abc5c8e
commit 5e737cdb4d
14 changed files with 149 additions and 36 deletions
@@ -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;
}