Rejuvenate extinguishes people who are on fire
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user