Add telecomms system (#14486)

This commit is contained in:
Slava0135
2023-03-24 03:02:41 +03:00
committed by GitHub
parent 0f2e912302
commit 53681a8b31
11 changed files with 121 additions and 71 deletions

View File

@@ -376,7 +376,7 @@ namespace Content.Server.Salvage
var message = args.Length == 0 ? Loc.GetString(messageKey) : Loc.GetString(messageKey, args);
var channel = _prototypeManager.Index<RadioChannelPrototype>(channelName);
_radioSystem.SendRadioMessage(source, message, channel);
_radioSystem.SendRadioMessage(source, message, channel, source);
}
private void Transition(SalvageMagnetComponent magnet, TimeSpan currentTime)