From 00c34f193591d86a2db9220adcd56c012028fb4b Mon Sep 17 00:00:00 2001 From: AzuleUtama <44248086+AzuleUtama@users.noreply.github.com> Date: Fri, 7 Dec 2018 00:09:11 +0000 Subject: [PATCH] Blocks job specific gear category for nukies, removed last of 'return' function uplink code, minor layout changes to template --- code/datums/uplink_item.dm | 1 + code/game/objects/items/devices/uplinks.dm | 3 --- nano/templates/uplink.tmpl | 6 +++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index 8d871447cd3..3f3c394a7e6 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -163,6 +163,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) /datum/uplink_item/jobspecific category = "Job Specific Tools" cant_discount = TRUE + excludefrom = list(/datum/game_mode/nuclear) // Stops the job specific category appearing for nukies //Clown /datum/uplink_item/jobspecific/clowngrenade diff --git a/code/game/objects/items/devices/uplinks.dm b/code/game/objects/items/devices/uplinks.dm index 7582d52e852..9c080a4c256 100644 --- a/code/game/objects/items/devices/uplinks.dm +++ b/code/game/objects/items/devices/uplinks.dm @@ -262,9 +262,6 @@ var/list/world_uplinks = list() hidden_crystals = 0 ui.close() return 1 - if(href_list["return"]) - nanoui_menu = round(nanoui_menu/10) - update_nano_data() if(href_list["menu"]) nanoui_menu = text2num(href_list["menu"]) update_nano_data(href_list["id"]) diff --git a/nano/templates/uplink.tmpl b/nano/templates/uplink.tmpl index 9aac008a714..7d2158a240c 100644 --- a/nano/templates/uplink.tmpl +++ b/nano/templates/uplink.tmpl @@ -11,10 +11,10 @@ Used In File(s): \code\game\objects\items\devices\uplinks.dm Functions: