]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix the ability to shoot out of crates (#28961)
authorCojoke <83733158+Cojoke-dot@users.noreply.github.com>
Thu, 11 Jul 2024 05:14:49 +0000 (00:14 -0500)
committerGitHub <noreply@github.com>
Thu, 11 Jul 2024 05:14:49 +0000 (15:14 +1000)
commit19a06b6cc0498fa59ffe7328df0f524f753968f4
treed7609f390c5c78c3150ff7f807e50a43ef2ed644
parent6371a046215b90f1ca57ca8135c677786f79a413
Fix the ability to shoot out of crates (#28961)

* Fix the ability to shoot out of crates

* Makes it check what inventory the player is in

* use IsEntityOrParentInContainer

* Fix Issues Github had

* gaahhh... Prevents lasers from being shot out of crates

* gaahhh... Prevents lasers from being shot out of crates

* Fix laser?

* hmmm... this is better looking I think?

* Uncook indentation

* Rerun tests?
Content.Server/Weapons/Ranged/Systems/GunSystem.cs
Content.Shared/Damage/Systems/RequireProjectileTargetSystem.cs