Fix some unneeded debug logs (#10485)

2 data definitions + NPCs.
This commit is contained in:
metalgearsloth
2022-08-15 14:23:23 +10:00
committed by GitHub
parent 702cfd15e9
commit 93efa6c3b8
3 changed files with 7 additions and 12 deletions

View File

@@ -184,7 +184,10 @@ namespace Content.Server.Polymorph.Systems
var act = new InstantAction()
{
Event = new PolymorphActionEvent(polyproto),
Event = new PolymorphActionEvent()
{
Prototype = polyproto,
},
Name = Loc.GetString("polymorph-self-action-name", ("target", entproto.Name)),
Description = Loc.GetString("polymorph-self-action-description", ("target", entproto.Name)),
Icon = new SpriteSpecifier.EntityPrototype(polyproto.Entity),
@@ -224,11 +227,6 @@ namespace Content.Server.Polymorph.Systems
/// The polymorph prototype containing all the information about
/// the specific polymorph.
/// </summary>
public readonly PolymorphPrototype Prototype;
public PolymorphActionEvent(PolymorphPrototype prototype)
{
Prototype = prototype;
}
public PolymorphPrototype Prototype = default!;
};
}