Всякие вещи (#442)

* - fix: No grabbing supermatter.

* - remove: No screen shake.

* - tweak: Revert tweaks.

* - fix: Telescope.
This commit is contained in:
Aviu00
2024-07-15 16:23:15 +00:00
committed by GitHub
parent b67a36cde6
commit c7341543f8
7 changed files with 19 additions and 14 deletions

View File

@@ -58,11 +58,12 @@ namespace Content.Server.Damage.Systems
}
_guns.PlayImpactSound(args.Target, dmg, component.Sound, component.Sound != null); // WD EDIT
if (TryComp<PhysicsComponent>(uid, out var body) && body.LinearVelocity.LengthSquared() > 0f)
/* if (TryComp<PhysicsComponent>(uid, out var body) && body.LinearVelocity.LengthSquared() > 0f)
{
var direction = body.LinearVelocity.Normalized();
_sharedCameraRecoil.KickCamera(args.Target, direction);
}
}*/
// WD EDIT
// TODO: If more stuff touches this then handle it after.
if (!HasComp<EmbeddableProjectileComponent>(uid) && TryComp<PhysicsComponent>(uid, out var physics)) // WD EDIT