Eject casings some distance from the gun (#18081)
Makes bullet casings launch a bit away from you when shooting a gun. Cycling still drops it at your feet. --------- Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
This commit is contained in:
@@ -171,7 +171,7 @@ public sealed partial class GunSystem : SharedGunSystem
|
||||
|
||||
// Something like ballistic might want to leave it in the container still
|
||||
if (!cartridge.DeleteOnSpawn && !Containers.IsEntityInContainer(ent!.Value))
|
||||
EjectCartridge(ent.Value);
|
||||
EjectCartridge(ent.Value, angle);
|
||||
|
||||
Dirty(cartridge);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user