Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions code/game/objects/structures/fence.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
minimap_color = MINIMAP_FENCE
var/health_max = 50
var/cut = 0 //Cut fences can be passed through
var/junction = null //Because everything is terrible, I'm making this a fence-level var
var/junction = 0 //Because everything is terrible, I'm making this a fence-level var
var/basestate = "fence"
var/forms_junctions = TRUE

Expand Down Expand Up @@ -261,8 +261,6 @@
if(!src)
return
for(var/obj/structure/fence/fence in orange(src, 1))
if(!fence.forms_junctions)
continue
if(abs(x - fence.x) - abs(y - fence.y)) //Doesn't count grilles, placed diagonally to src
junction |= get_dir(src, fence)
if(cut)
Expand Down
Binary file modified icons/obj/structures/props/fences/fence.dmi
Binary file not shown.