Constructing of glass airlock now actually uses 1 sheet of rglass.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@831 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2011-01-12 07:03:10 +00:00
parent 0aa11e69fe
commit 0ea1fab224
+3 -3
View File
@@ -206,11 +206,11 @@ obj/door_assembly
ae.loc = src.loc
else if(istype(W, /obj/item/stack/sheet/rglass) && glass == 0)
playsound(src.loc, 'Crowbar.ogg', 100, 1)
var/turf/T = get_turf(user)
user.visible_message("[user] adds reinforced glass windows to the airlock assembly.", "You start to install reinforced glass windows into the airlock assembly.")
sleep(40)
if(get_turf(user) == T)
var/obj/item/stack/sheet/rglass/G = W
if(do_after(user, 40) && G.amount>=1)
user << "\blue You installed glass windows the airlock assembly!"
G.use(1)
src.glass = 1
src.doortype = 7
src.name = "Near finished Window Airlock Assembly"