[MIRROR] Fixes uplink type being unchangeable and radio uplink frequency (#5508)

* Fixes uplink type being unchangeable and radio uplink frequency (#58908)

* Fixes uplink-related bugs

* Actually fixes radio uplink properly

* Fixes uplink type being unchangeable and radio uplink frequency

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-05-06 23:18:08 +01:00
committed by GitHub
co-authored by RandomGamer123
parent 282edad2bf
commit 5d7ae8f54e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
///returns a random unused frequency between MIN_FREE_FREQ & MAX_FREE_FREQ if free = TRUE, and MIN_FREQ & MAX_FREQ if FALSE
/proc/return_unused_frequency(free = FALSE)
var/start = free ? MIN_FREE_FREQ : 1459//MIN_FREQ
var/end = free ? MAX_FREE_FREQ : 1460//MAX_FREQ
var/start = free ? MIN_FREE_FREQ : MIN_FREQ
var/end = free ? MAX_FREE_FREQ : MAX_FREQ
var/freq_to_check = 0
do
+1 -1
View File
@@ -1510,7 +1510,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/new_loc = input(user, "Choose your character's traitor uplink spawn location:", "Character Preference") as null|anything in GLOB.uplink_spawn_loc_list
if(new_loc)
// This is done to prevent affecting saves
uplink_spawn_loc = new_loc == UPLINK_IMPLANT_WITH_PRICE ? UPLINK_IMPLANT : uplink_spawn_loc
uplink_spawn_loc = new_loc == UPLINK_IMPLANT_WITH_PRICE ? UPLINK_IMPLANT : new_loc
if("playtime_reward_cloak")
if (user.client.get_exp_living(TRUE) >= PLAYTIME_VETERAN)