mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
Merge pull request #10391 from ShadowLarkens/rpd_fix
Fix only the first RPD ever interacted with working
This commit is contained in:
committed by
Chompstation Bot
parent
fdf91fb0b0
commit
53fae19217
@@ -54,7 +54,6 @@
|
||||
/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)
|
||||
@@ -121,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