From 547290e3c273a363df7d748fd483a4b2c70e0c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Wed, 23 Sep 2020 20:23:20 +0200 Subject: [PATCH] Rejuvenate extinguishes people who are on fire --- Content.Server/GlobalVerbs/RejuvenateVerb.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Content.Server/GlobalVerbs/RejuvenateVerb.cs b/Content.Server/GlobalVerbs/RejuvenateVerb.cs index e7b949f6b8..494cf2df87 100644 --- a/Content.Server/GlobalVerbs/RejuvenateVerb.cs +++ b/Content.Server/GlobalVerbs/RejuvenateVerb.cs @@ -1,4 +1,5 @@ -using Content.Server.GameObjects.Components.Mobs; +using Content.Server.GameObjects.Components.Atmos; +using Content.Server.GameObjects.Components.Mobs; using Content.Server.GameObjects.Components.Nutrition; using Content.Shared.GameObjects.Components.Damage; using Content.Shared.GameObjects.Verbs; @@ -73,6 +74,16 @@ namespace Content.Server.GlobalVerbs { stun.ResetStuns(); } + + if (target.TryGetComponent(out FlammableComponent flammable)) + { + flammable.Extinguish(); + } + + if (target.TryGetComponent(out CreamPiedComponent creamPied)) + { + creamPied.Wash(); + } } } }