Merge pull request #9073 from enbyfriend/RPD-fix

Fixes the RPD (again (hopefully for the last time (fingers crossed)))
This commit is contained in:
Atermonera
2023-04-07 12:34:13 -08:00
committed by GitHub
+4 -4
View File
@@ -31,9 +31,9 @@
var/category = ATMOS_CATEGORY
var/piping_layer = PIPING_LAYER_DEFAULT
var/obj/item/tool/wrench/tool
var/datum/pipe_recipe/recipe // pipe recipie selected for display/construction
var/static/datum/pipe_recipe/first_atmos
var/static/datum/pipe_recipe/first_disposal
var/datum/pipe_recipe/recipe
var/datum/pipe_recipe/first_atmos
var/datum/pipe_recipe/first_disposal
var/mode = BUILD_MODE | DESTROY_MODE | WRENCH_MODE
var/static/list/pipe_layers = list(
"Regular" = PIPING_LAYER_REGULAR,
@@ -53,7 +53,7 @@
/obj/item/pipe_dispenser/proc/SetupPipes()
if(!first_atmos)
first_atmos = GLOB.atmos_pipe_recipes[GLOB.atmos_pipe_recipes[1]][1]
recipe = first_atmos
recipe = first_atmos
if(!first_disposal)
first_disposal = GLOB.disposal_pipe_recipes[GLOB.disposal_pipe_recipes[1]][1]