More minor UI refactor changes (#11213)

This commit is contained in:
wrexbe
2022-09-11 21:30:11 -07:00
committed by GitHub
parent 2acae9e833
commit b3f75f9ffe
21 changed files with 34 additions and 45 deletions

View File

@@ -46,7 +46,7 @@ namespace Content.Server.Polymorph.Systems
{
if (Deleted(uid))
return;
if (!TryComp<PolymorphedEntityComponent>(uid, out var component))
return;
@@ -118,7 +118,7 @@ namespace Content.Server.Polymorph.Systems
Description = Loc.GetString("polymorph-revert-action-description"),
UseDelay = TimeSpan.FromSeconds(component.Prototype.Delay),
};
_actions.AddAction(uid, act, null);
}