From 35870d7ea0270aeb65550531821259877dd34a62 Mon Sep 17 00:00:00 2001 From: Discozavisim <107996502+Discozavisim@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:52:25 +0200 Subject: [PATCH 1/2] Update rdconsole.dm --- code/modules/research/rdconsole.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index c60264ae0e98..3379c67fe853 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -668,10 +668,10 @@ Nothing else in the console has ID requirements. RDSCREEN_UI_DDISK_CHECK var/list/l = list() l += "Disk Operations: Clear DiskUpload AllEject Disk" - for(var/i in 1 to d_disk.max_blueprints) + for(var/i in d_disk.blueprints) l += "
" - if(d_disk.blueprints[i]) - var/datum/design/D = d_disk.blueprints[i] + if(istype(i, /datum/design)) + var/datum/design/D = i l += "[D.icon_html(usr)] [D.name]" l += "Operations: Upload to database Clear Slot" else From ecd97779cafcf56e7712df3d8e4e774b0d243e9b Mon Sep 17 00:00:00 2001 From: Discozavisim <107996502+Discozavisim@users.noreply.github.com> Date: Fri, 11 Oct 2024 21:24:19 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/research/rdconsole.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index 3379c67fe853..dc4e8d176afe 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -668,10 +668,17 @@ Nothing else in the console has ID requirements. RDSCREEN_UI_DDISK_CHECK var/list/l = list() l += "Disk Operations: Clear DiskUpload AllEject Disk" + // [CELADON-EDIT] - CELADON_FIXES - Чиним диски + // for(var/i in 1 to d_disk.max_blueprints) // CELADON-EDIT - ORIGINAL for(var/i in d_disk.blueprints) + // [/CELADON-EDIT] l += "
" + // [CELADON-EDIT] - CELADON_FIXES - Чиним диски + // if(d_disk.blueprints[i]) + // var/datum/design/D = d_disk.blueprints[i] // CELADON-EDIT - ORIGINAL if(istype(i, /datum/design)) var/datum/design/D = i + // [/CELADON-EDIT] l += "[D.icon_html(usr)] [D.name]" l += "Operations: Upload to database Clear Slot" else