borg construction module (#19260)
* cant insert materials into machine if unremoveable * lingering materials * add construction cyborg module * fix empty stack color * lathe recipe * a --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -336,6 +336,10 @@ namespace Content.Shared.Stacks
|
||||
|
||||
private void OnStackStarted(EntityUid uid, StackComponent component, ComponentStartup args)
|
||||
{
|
||||
// on client, lingering stacks that start at 0 need to be darkened
|
||||
// on server this does nothing
|
||||
SetCount(uid, component.Count, component);
|
||||
|
||||
if (!TryComp(uid, out AppearanceComponent? appearance))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user