mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-24 05:36:57 +01:00
Fixes the RPD (again (hopefully for the last time (fingers crossed)))
Indentation error caused you to be unable to select new pipe type & static vars made it so any RPD after the first would cause TGUI to break
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user