Merge pull request #11490 from Markolie/wind

Fix windoor click opening
This commit is contained in:
Fox McCloud
2019-05-08 16:17:41 -04:00
committed by GitHub
+1 -2
View File
@@ -214,7 +214,7 @@
return attack_hand(user)
/obj/machinery/door/window/attack_hand(mob/user)
return bumpopen(user)
return try_to_activate_door(user)
/obj/machinery/door/window/emag_act(mob/user, obj/weapon)
if(!operating && density && !emagged)
@@ -228,7 +228,6 @@
return 1
/obj/machinery/door/window/attackby(obj/item/I, mob/living/user, params)
//If it's in the process of opening/closing, ignore the click
if(operating)
return