mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[NO GBP] Allows plumbing machines on ducts with different layers (#95052)
## About The Pull Request - Closes #95039. Although intentionally removed in #94678 the inconvenience of not allowing ducts under machines of different layers isn't worth the visual clutter it has helped in reducing so I'm bringing it back ## Changelog 🆑 qol: you can place plumbing machines on ducts with different layers again /🆑
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if(!active())
|
||||
var/datum/overlap = ducting_layer_check(parent_obj)
|
||||
var/datum/overlap = ducting_layer_check(parent_obj, -ducting_layer)
|
||||
if(!isnull(overlap))
|
||||
parent_obj.balloon_alert(user, "overlapping [istype(overlap, /obj/machinery/duct) ? "duct" : "machine"] detected!")
|
||||
return ITEM_INTERACT_FAILURE
|
||||
|
||||
Reference in New Issue
Block a user