mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Fix only the first RPD ever interacted with working
This commit is contained in:
@@ -54,9 +54,10 @@
|
||||
/obj/item/weapon/pipe_dispenser/proc/SetupPipes()
|
||||
if(!first_atmos)
|
||||
first_atmos = GLOB.atmos_pipe_recipes[GLOB.atmos_pipe_recipes[1]][1]
|
||||
recipe = first_atmos
|
||||
if(!first_disposal)
|
||||
first_disposal = GLOB.disposal_pipe_recipes[GLOB.disposal_pipe_recipes[1]][1]
|
||||
if(!recipe)
|
||||
recipe = first_atmos
|
||||
|
||||
/obj/item/weapon/pipe_dispenser/Destroy()
|
||||
qdel_null(spark_system)
|
||||
@@ -119,7 +120,6 @@
|
||||
return data
|
||||
|
||||
/obj/item/weapon/pipe_dispenser/tgui_act(action, params)
|
||||
SetupPipes()
|
||||
if(..())
|
||||
return TRUE
|
||||
if(!usr.canmove || usr.stat || usr.restrained() || !in_range(loc, usr))
|
||||
|
||||
Reference in New Issue
Block a user