Removing The Scream Action From The Action Bar (#1348)

* Removed Initilization For The Scream Action

* Commetet out code instead of Deleting it outright

* Commetet Out The Code Inititzilazing The Scream Action

* Update Content.Server/Speech/EntitySystems/VocalSystem.cs

* Update Content.Server/Speech/EntitySystems/VocalSystem.cs

---------

Co-authored-by: Red <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Jona-K
2025-06-05 10:46:08 +02:00
committed by GitHub
parent 9632bc8bfc
commit 9e9b7f583f

View File

@@ -34,7 +34,7 @@ public sealed class VocalSystem : EntitySystem
private void OnMapInit(EntityUid uid, VocalComponent component, MapInitEvent args)
{
// try to add scream action when vocal comp added
_actions.AddAction(uid, ref component.ScreamActionEntity, component.ScreamAction);
//_actions.AddAction(uid, ref component.ScreamActionEntity, component.ScreamAction); //CP14 Remove The Scream Action from the Action bar
LoadSounds(uid, component);
}
@@ -43,7 +43,7 @@ public sealed class VocalSystem : EntitySystem
// remove scream action when component removed
if (component.ScreamActionEntity != null)
{
_actions.RemoveAction(uid, component.ScreamActionEntity);
//_actions.RemoveAction(uid, component.ScreamActionEntity); //CP14 Remove The Scream Action from the Action bar
}
}