Refactoring hardsuit click checking.

This commit is contained in:
Zuhayr
2015-08-23 02:14:55 +09:30
parent a00ac82221
commit 90e51b87e3
7 changed files with 72 additions and 52 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
/obj/machinery/portable_atmospherics/hydroponics/AltClick()
if(mechanical && !usr.stat && !usr.lying && Adjacent(usr))
close_lid(usr)
return
return 1
return ..()
/obj/machinery/portable_atmospherics/hydroponics/attack_ghost(var/mob/dead/observer/user)