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