Fix missing import and damage change
This commit is contained in:
parent
acfbdc267b
commit
777b074fed
|
|
@ -33,7 +33,8 @@ using Robust.Shared.Containers;
|
|||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Random;
|
||||
using Content.Server.Psionics; //Nyano - Summary: allows the potential psionic ability to be written to the character.
|
||||
using Content.Server.Psionics;
|
||||
using Content.Server.Traits.Assorted; //Nyano - Summary: allows the potential psionic ability to be written to the character.
|
||||
|
||||
namespace Content.Server.Cloning
|
||||
{
|
||||
|
|
@ -227,7 +228,7 @@ namespace Content.Server.Cloning
|
|||
var mob = Spawn(speciesPrototype.Prototype, Transform(uid).MapPosition);
|
||||
_humanoidSystem.CloneAppearance(bodyToClone, mob);
|
||||
|
||||
///Nyano - Summary: adds the potential psionic trait to the reanimated mob.
|
||||
///Nyano - Summary: adds the potential psionic trait to the reanimated mob.
|
||||
EnsureComp<PotentialPsionicComponent>(mob);
|
||||
|
||||
var ev = new CloningEvent(bodyToClone, mob);
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ public sealed partial class DeepFryerSystem : SharedDeepfryerSystem
|
|||
CookingDamageAmount);
|
||||
|
||||
var result = _damageableSystem.TryChangeDamage(item, damage, origin: uid);
|
||||
if (result?.Total > FixedPoint2.Zero)
|
||||
if (result?.GetTotal() > FixedPoint2.Zero)
|
||||
{
|
||||
// TODO: Smoke, waste, sound, or some indication.
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue