Decouple interactions from hands, cleanup old events, add new fears (#28393)
* ok basic shit * second part * pretend it isn't real it can't hurt you. * 👁️ 👁️ * shadowcommander review
This commit is contained in:
@@ -81,6 +81,9 @@ public sealed class RadioDeviceSystem : EntitySystem
|
||||
#region Toggling
|
||||
private void OnActivateMicrophone(EntityUid uid, RadioMicrophoneComponent component, ActivateInWorldEvent args)
|
||||
{
|
||||
if (!args.Complex)
|
||||
return;
|
||||
|
||||
if (!component.ToggleOnInteract)
|
||||
return;
|
||||
|
||||
@@ -90,6 +93,9 @@ public sealed class RadioDeviceSystem : EntitySystem
|
||||
|
||||
private void OnActivateSpeaker(EntityUid uid, RadioSpeakerComponent component, ActivateInWorldEvent args)
|
||||
{
|
||||
if (!args.Complex)
|
||||
return;
|
||||
|
||||
if (!component.ToggleOnInteract)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user