Port Bay's intercom overhaul

This commit is contained in:
Markolie
2015-09-03 21:21:20 +02:00
parent 65c793f9ac
commit 3a3457de36
26 changed files with 369 additions and 219 deletions
@@ -538,7 +538,7 @@
else if(href_list["freq"])
var/new_frequency = (P.sradio.frequency + text2num(href_list["freq"]))
if(new_frequency < 1200 || new_frequency > 1600)
if(new_frequency < PUBLIC_LOW_FREQ || new_frequency > PUBLIC_HIGH_FREQ)
new_frequency = sanitize_frequency(new_frequency)
P.sradio.set_frequency(new_frequency)
return 1
-2
View File
@@ -113,8 +113,6 @@
loc_landmark = sloc
O.loc = loc_landmark.loc
for (var/obj/item/device/radio/intercom/comm in O.loc)
comm.ai += O
O.on_mob_init()