Fix flashlights not updating status when battery inserted.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using Content.Server.GameObjects.Components.Power;
|
using Content.Server.GameObjects.Components.Power;
|
||||||
using Content.Server.GameObjects.Components.Sound;
|
using Content.Server.GameObjects.Components.Sound;
|
||||||
using Content.Server.GameObjects.EntitySystems;
|
using Content.Server.GameObjects.EntitySystems;
|
||||||
using Content.Server.Interfaces.GameObjects;
|
using Content.Server.Interfaces.GameObjects;
|
||||||
@@ -70,6 +70,8 @@ namespace Content.Server.GameObjects.Components.Interactable
|
|||||||
soundComponent.Play("/Audio/items/weapons/pistol_magin.ogg");
|
soundComponent.Play("/Audio/items/weapons/pistol_magin.ogg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Dirty();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user