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

* Fixes uplink-related bugs

* Actually fixes radio uplink properly
This commit is contained in:
RandomGamer123
2021-05-06 15:46:59 -04:00
committed by GitHub
parent 75bfe960a6
commit eddecf956a
2 changed files with 3 additions and 3 deletions

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

View File

@@ -1508,7 +1508,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)