Fixes falsewall letting through air. (#37306)

* Fixes falsewall letting through air.

* define
This commit is contained in:
AnturK
2018-04-23 02:16:18 +02:00
committed by CitadelStationBot
parent e022564fca
commit 1c390cbbc5
+1 -1
View File
@@ -62,7 +62,6 @@
opening = FALSE
return
addtimer(CALLBACK(src, /obj/structure/falsewall/proc/toggle_open), 5)
air_update_turf(1)
/obj/structure/falsewall/proc/toggle_open()
if(!QDELETED(src))
@@ -70,6 +69,7 @@
set_opacity(density)
opening = FALSE
update_icon()
air_update_turf(TRUE)
/obj/structure/falsewall/update_icon()//Calling icon_update will refresh the smoothwalls if it's closed, otherwise it will make sure the icon is correct if it's open
if(opening)