Skip to content

Commit

Permalink
regex "/obj/..." fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thera-Pissed committed Oct 2, 2024
1 parent 29ad75d commit 594586b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/game/machinery/pipe/pipe_dispenser.dm
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,9 @@

P.update()
P.setPipingLayer(piping_layer)
if(findtext("[queued_p_type]", "/obj/machinery/atmospherics/pipe") && !findtext("[queued_p_type]", "layer_manifold"))
if(ispath(path, /obj/machinery/atmospherics/pipe) && !findtext("[queued_p_type]", "layer_manifold"))
P.add_atom_colour(GLOB.pipe_paint_colors[paint_color], FIXED_COLOUR_PRIORITY)

Check failure on line 190 in code/game/machinery/pipe/pipe_dispenser.dm

View workflow job for this annotation

GitHub Actions / Run Linters

Check Regex

non-bitwise << uses removed from here, update check_regex.yml

if(DISPOSALS_CATEGORY) //Making disposals pipes
new /obj/structure/disposalconstruct(loc, queued_p_type, queued_p_dir, queued_p_flipped)
on_make_pipe()
Expand Down

0 comments on commit 594586b

Please sign in to comment.