mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
Fixes uplink type being unchangeable and radio uplink frequency (#58908)
* Fixes uplink-related bugs * Actually fixes radio uplink properly
This commit is contained in:
@@ -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
|
///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)
|
/proc/return_unused_frequency(free = FALSE)
|
||||||
var/start = free ? MIN_FREE_FREQ : 1459//MIN_FREQ
|
var/start = free ? MIN_FREE_FREQ : MIN_FREQ
|
||||||
var/end = free ? MAX_FREE_FREQ : 1460//MAX_FREQ
|
var/end = free ? MAX_FREE_FREQ : MAX_FREQ
|
||||||
|
|
||||||
var/freq_to_check = 0
|
var/freq_to_check = 0
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -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
|
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)
|
if(new_loc)
|
||||||
// This is done to prevent affecting saves
|
// 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("playtime_reward_cloak")
|
||||||
if (user.client.get_exp_living(TRUE) >= PLAYTIME_VETERAN)
|
if (user.client.get_exp_living(TRUE) >= PLAYTIME_VETERAN)
|
||||||
|
|||||||
Reference in New Issue
Block a user