Всякие вещи (#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

@@ -51,7 +51,7 @@ public sealed class ProjectileSystem : SharedProjectileSystem
{
return;
}
// it's here so this check is only done once before possible hit
var attemptEv = new ProjectileReflectAttemptEvent(uid, component, false);
RaiseLocalEvent(target, ref attemptEv);
@@ -84,7 +84,8 @@ public sealed class ProjectileSystem : SharedProjectileSystem
if (!deleted)
{
_guns.PlayImpactSound(target, modifiedDamage, component.SoundHit, component.ForceSound);
_sharedCameraRecoil.KickCamera(target, direction);
// _sharedCameraRecoil.KickCamera(target, direction);
// WD EDIT
}
component.DamagedEntity = true;