mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Another circuit fix (#22977)
Reduces max phoron and steel storage potential of the IC Circuit Printer. Particularly steel is reduced when the cloning disk is installed and phoron is set to one bar instead of two. Also put in some safety measures for importing being lost due to server latency. Oh and well the radio command receiver is built in now.
This commit is contained in:
@@ -178,6 +178,11 @@
|
||||
|
||||
var/list/receive = get_hearers_in_radio_ranges(radios)
|
||||
|
||||
// Electronic radio headsets expose received traffic to their built-in
|
||||
// command receiver independently of whether a mob can hear the message.
|
||||
for(var/obj/item/radio/headset/circuitry/circuit_headset in radios)
|
||||
circuit_headset.receive_circuit_radio_command(data["name"], message, get_frequency_name(frequency))
|
||||
|
||||
// Cut out admins which have radio chatter disabled
|
||||
for (var/mob/R in receive)
|
||||
if(R.client && R.client.holder && !(R.client.prefs.toggles & CHAT_RADIO))
|
||||
|
||||
Reference in New Issue
Block a user