Stunprod fixes & add new sprites (#334)

* - tweak: Cleanup snatcherprod and tentacle gun.

* - fix: Cleanup StunprodSystem.

* - add: Snatcherprod on inhand sprites.
This commit is contained in:
Aviu00
2024-06-06 11:30:00 +00:00
committed by GitHub
parent 19b3d5bcc9
commit e72db9d701
9 changed files with 70 additions and 50 deletions

View File

@@ -143,8 +143,8 @@ public abstract class SharedTentacleGun : EntitySystem
if(!TryComp<PhysicsComponent>(activeItem, out var physicsComponent))
continue;
var coords = Transform(args.Embedded).Coordinates;
_handsSystem.TryDrop(args.Embedded, activeItem, coords);
if (!_handsSystem.TryDrop(args.Embedded, activeItem))
continue;
var force = physicsComponent.Mass * 2.5f / 2;