Skip to content

Commit

Permalink
nobody likes windoors anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
jdawg1290 committed Oct 17, 2019
1 parent 12a26d8 commit d319cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/game/machinery/doors/windowdoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

/obj/machinery/door/window/Initialize(mapload, set_dir)
. = ..()
flags_1 &= ~PREVENT_CLICK_UNDER_1
if(set_dir)
setDir(set_dir)
if(req_access && req_access.len)
Expand Down Expand Up @@ -148,7 +149,6 @@
icon_state ="[base_state]open"
sleep(10)
density = FALSE
flags_1 &= ~PREVENT_CLICK_UNDER_1
air_update_turf(1)
update_freelook_sight()

Expand All @@ -171,7 +171,6 @@
icon_state = base_state

density = TRUE
flags_1 |= PREVENT_CLICK_UNDER_1
air_update_turf(1)
update_freelook_sight()
sleep(10)
Expand Down

0 comments on commit d319cb1

Please sign in to comment.