Merge pull request #4427 from AugRob/airlockscrewdriver

Add screwdriver sound when opening airlock panels
This commit is contained in:
Fox McCloud
2016-05-15 18:30:56 -04:00
+2 -1
View File
@@ -799,6 +799,7 @@ About the new airlock wires panel:
else
return
else if(istype(C, /obj/item/weapon/screwdriver))
playsound(src.loc, 'sound/items/Screwdriver.ogg', 25, 1)
src.p_open = !( src.p_open )
src.update_icon()
else if(istype(C, /obj/item/weapon/wirecutters))
@@ -1066,4 +1067,4 @@ About the new airlock wires panel:
src.unlock()
src.open()
src.lock()
return
return