From f9a2fcfdb07ba38eef5834bc1ec810810fcf7946 Mon Sep 17 00:00:00 2001 From: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com> Date: Sun, 4 Jul 2021 19:42:29 -0400 Subject: [PATCH] Removes plasteel as a custom material for tanks to prevent bugs (#59963) --- code/modules/atmospherics/machinery/components/tank.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/atmospherics/machinery/components/tank.dm b/code/modules/atmospherics/machinery/components/tank.dm index 88fbb0d2cc1..a34474663a7 100644 --- a/code/modules/atmospherics/machinery/components/tank.dm +++ b/code/modules/atmospherics/machinery/components/tank.dm @@ -10,7 +10,7 @@ density = TRUE layer = ABOVE_WINDOW_LAYER - custom_materials = list(/datum/material/alloy/plasteel=4000, /datum/material/iron=20000) + custom_materials = list(/datum/material/iron=20000) // plasteel is not a material to prevent two bugs: one where the default pressure is 1.5 times higher as plasteel's material modifier is added, and a second one where the tank names could be "plasteel plasteel" tanks material_flags = MATERIAL_GREYSCALE | MATERIAL_ADD_PREFIX | MATERIAL_AFFECT_STATISTICS pipe_flags = PIPING_ONE_PER_TURF @@ -542,7 +542,6 @@ return var/obj/machinery/atmospherics/components/tank/new_tank = new(build_location) var/list/new_custom_materials = list() - new_custom_materials[/datum/material/alloy/plasteel] = 4000 new_custom_materials[material_end_product] = 20000 new_tank.set_custom_materials(new_custom_materials) to_chat(user, "[new_tank] has been sealed and is ready to accept gases.")