@@ -20,6 +20,9 @@ using Content.Shared.Timing;
|
||||
using Content.Shared.Toggleable;
|
||||
using Content.Shared.Weapons.Melee.Events;
|
||||
using Robust.Server.Audio;
|
||||
using Content.Shared.White.Mood;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Physics;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Events;
|
||||
using Robust.Shared.Physics.Systems;
|
||||
@@ -371,10 +374,12 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
if (!flammable.OnFire)
|
||||
{
|
||||
_alertsSystem.ClearAlert(uid, AlertType.Fire);
|
||||
RaiseLocalEvent(uid, new MoodRemoveEffectEvent("OnFire")); // WD edit
|
||||
continue;
|
||||
}
|
||||
|
||||
_alertsSystem.ShowAlert(uid, AlertType.Fire);
|
||||
RaiseLocalEvent(uid, new MoodEffectEvent("OnFire")); // WD edit
|
||||
|
||||
if (flammable.FireStacks > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user