]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Makes clumsy not delete guns (#25243)
authorJessica M <jessica@jessicamaybe.com>
Wed, 14 Feb 2024 23:04:06 +0000 (15:04 -0800)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2024 23:04:06 +0000 (16:04 -0700)
clumsy no longer deletes guns

Co-authored-by: Jessica M <jessica@maybe.sh>
Content.Server/Weapons/Ranged/Systems/GunSystem.cs

index 756a4c906566ed9c25436778c58a0b6609027c04..b8f8f122111b64a233368d3aab04110d40860f27 100644 (file)
@@ -87,8 +87,6 @@ public sealed partial class GunSystem : SharedGunSystem
                     Audio.PlayPvs(clumsy.ClumsySound, gunUid);
 
                     PopupSystem.PopupEntity(Loc.GetString("gun-clumsy"), user.Value);
-                    _adminLogger.Add(LogType.EntityDelete, LogImpact.Medium, $"Clumsy fire by {ToPrettyString(user.Value)} deleted {ToPrettyString(gunUid)}");
-                    Del(gunUid);
                     userImpulse = false;
                     return;
                 }