]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix the admin verbs trying to kill players by filling their lungs with plasma (#30991)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Wed, 14 Aug 2024 09:56:38 +0000 (11:56 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2024 09:56:38 +0000 (12:56 +0300)
fix the admin tools trying to kill players by filling their lungs with plasma

Content.Server/Administration/Systems/AdminVerbSystem.Tools.cs

index a00424a74125bf1b2aef053e9c875ca7fe243ac5..fef8a031d9da9a82098c375109213fab84104b17 100644 (file)
@@ -736,11 +736,11 @@ public sealed partial class AdminVerbSystem
         }
     }
 
-    private void RefillEquippedTanks(EntityUid target, Gas plasma)
+    private void RefillEquippedTanks(EntityUid target, Gas gasType)
     {
         foreach (var held in _inventorySystem.GetHandOrInventoryEntities(target))
         {
-            RefillGasTank(held, Gas.Plasma);
+            RefillGasTank(held, gasType);
         }
     }