This commit is contained in:
Zuhayr
2014-12-23 13:23:35 +10:30
parent 056d2c1584
commit 7c2407c21c
2 changed files with 12 additions and 2 deletions
@@ -223,7 +223,7 @@
user << "<span class='notice'>There was nothing to remove.</span>"
src.state = 1
return
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove the electronics from the airlock assembly.")
@@ -271,7 +271,8 @@
else
path = text2path("/obj/machinery/door/airlock[airlock_type]")
new path(src.loc, src)
var/obj/machinery/door/new_airlock = new path(src.loc, src)
new_airlock.dir = src.dir
del(src)
else
..()