Fix (#508)
This commit is contained in:
@@ -212,6 +212,7 @@ public sealed partial class BlockingSystem : EntitySystem
|
||||
hard: true,
|
||||
collisionLayer: (int) CollisionGroup.WallLayer,
|
||||
body: physicsComponent);
|
||||
_physics.SetBodyType(user, BodyType.Static, body: physicsComponent);
|
||||
}
|
||||
|
||||
component.IsBlocking = true;
|
||||
|
||||
@@ -38,7 +38,6 @@ public sealed partial class StaminaSystem : EntitySystem
|
||||
[Dependency] private readonly SharedColorFlashEffectSystem _color = default!;
|
||||
[Dependency] private readonly SharedStunSystem _stunSystem = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffectsSystem = default!; // WD EDIT
|
||||
|
||||
/// <summary>
|
||||
/// How much of a buffer is there between the stun duration and when stuns can be re-applied.
|
||||
@@ -365,7 +364,7 @@ public sealed partial class StaminaSystem : EntitySystem
|
||||
continue;
|
||||
|
||||
// We were in crit so come out of it and continue.
|
||||
if (!_statusEffectsSystem.HasStatusEffect(uid, "Stun") && comp.Critical) // WD EIT
|
||||
if (comp.Critical)
|
||||
{
|
||||
ExitStamCrit(uid, comp);
|
||||
continue;
|
||||
|
||||
@@ -164,3 +164,4 @@
|
||||
components:
|
||||
- type: SurveillanceCameraRouter
|
||||
subnetFrequency: SurveillanceCameraSecurity
|
||||
subnetColor: "#DE3A3AFF"
|
||||
|
||||
Reference in New Issue
Block a user