More minor UI refactor changes (#11213)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Abilities.Mime
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Bible.Components
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace Content.Server.Polymorph.Systems
|
||||
|
||||
var act = new InstantAction()
|
||||
{
|
||||
Event = new PolymorphActionEvent()
|
||||
Event = new PolymorphActionEvent
|
||||
{
|
||||
Prototype = polyproto,
|
||||
},
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user