Radio changes.

Removes the radio free range option.
Instead all users can move within the standard radio frequency range, while authorized users can also select department channels.
This commit is contained in:
PsiOmega
2015-08-22 12:03:20 +02:00
parent 8f431c3832
commit e1aa20fda5
17 changed files with 106 additions and 109 deletions

View File

@@ -79,7 +79,7 @@
if (href_list["freq"])
var/new_frequency = (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)
set_frequency(new_frequency)