Fixes Lattice Building (#263)
* allows construction of lattices again https://github.com/tgstation/tgstation/pull/24674 * removes stray brig shutter from engineering windows
This commit is contained in:
@@ -58970,10 +58970,6 @@
|
||||
icon_state = "0-8"
|
||||
},
|
||||
/obj/structure/grille,
|
||||
/obj/machinery/door/poddoor/preopen{
|
||||
id = "Secure Gate";
|
||||
name = "brig shutters"
|
||||
},
|
||||
/obj/structure/window/reinforced/fulltile,
|
||||
/turf/open/floor/plating,
|
||||
/area/engine/engineering)
|
||||
|
||||
@@ -60,10 +60,10 @@
|
||||
/turf/open/space/attack_paw(mob/user)
|
||||
return src.attack_hand(user)
|
||||
|
||||
/turf/open/space/attackby(obj/item/C, mob/user, area_restriction)
|
||||
/turf/open/space/attackby(obj/item/C, mob/user, area/area_restriction)
|
||||
..()
|
||||
if(istype(C, /obj/item/stack/rods))
|
||||
if(area_restriction && !istype(get_area(src), area_restriction))
|
||||
if(istype(area_restriction) && !istype(get_area(src), area_restriction))
|
||||
return
|
||||
var/obj/item/stack/rods/R = C
|
||||
var/obj/structure/lattice/L = locate(/obj/structure/lattice, src)
|
||||
|
||||
Reference in New Issue
Block a user