mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
Fixes RPDs so they all work spawned or not, activated or not, etc.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
var/piping_layer = PIPING_LAYER_DEFAULT
|
||||
var/wrench_mode = FALSE
|
||||
var/obj/item/weapon/tool/wrench/tool
|
||||
var/datum/pipe_recipe/recipe // pipe recipie selected for display/construction
|
||||
var/datum/pipe_recipe/recipe = null // pipe recipie selected for display/construction
|
||||
var/static/datum/pipe_recipe/first_atmos
|
||||
var/static/datum/pipe_recipe/first_disposal
|
||||
var/static/datum/asset/iconsheet/pipes/icon_assets
|
||||
@@ -55,6 +55,9 @@
|
||||
recipe = first_atmos
|
||||
if(!first_disposal)
|
||||
first_disposal = disposal_pipe_recipes[disposal_pipe_recipes[1]][1]
|
||||
recipe = first_disposal
|
||||
if(recipe == null)
|
||||
recipe = atmos_pipe_recipes[atmos_pipe_recipes[1]][1]
|
||||
|
||||
/obj/item/weapon/pipe_dispenser/Destroy()
|
||||
qdel_null(spark_system)
|
||||
|
||||
Reference in New Issue
Block a user