Skip to content

Commit

Permalink
cut fence
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers committed Jul 13, 2024
1 parent ed34b86 commit 36bb041
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@
var/obj/structure/window/framed/framed_window = structure_blocker
if(!framed_window.unslashable)
framed_window.deconstruct(disassembled = FALSE)
if(istype(structure_blocker, /obj/structure/fence))
var/obj/structure/fence/fence = structure_blocker
if(!fence.unslashable)
fence.health -= 50
fence.healthcheck()

if(structure_blocker.opacity)
blocked = TRUE
Expand Down

0 comments on commit 36bb041

Please sign in to comment.