Багфиксы и всякое (#47)
* - tweak: Tweak CPR speed.
* - fix: Cult action fix.
* Revert "Put entity resetting behind command flag (#24436)"
This reverts commit 5267d3c601.
* - fix: Mindshield fixes.
* - tweak: Give security security glasses.
* - fix: Fix warning.
* - fix: Fix ling TTS.
* - fix: Fix gun cycle.
* - fix: Mark cultist and lings as antags.
* - fix: Fix borg name.
* - fix: Fix carrying throw.
* - fix: Fix gun bolt with no mag.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Content.Server.Carrying
|
||||
/// Basically using virtual item passthrough to throw the carried person. A new age!
|
||||
/// Maybe other things besides throwing should use virt items like this...
|
||||
/// </summary>
|
||||
private void OnThrow(EntityUid uid, CarryingComponent component, BeforeThrowEvent args)
|
||||
private void OnThrow(EntityUid uid, CarryingComponent component, ref BeforeThrowEvent args)
|
||||
{
|
||||
if (!TryComp<VirtualItemComponent>(args.ItemUid, out var virtItem) || !HasComp<CarriableComponent>(virtItem.BlockingEntity))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user