Bumping into firelocks in exosuit.

This commit is contained in:
Segrain
2013-06-05 21:02:25 +03:00
parent 57c1ebb285
commit 65893426ba
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -57,6 +57,13 @@
return
if(!density)
return ..()
if(istype(AM, /obj/mecha))
var/obj/mecha/mecha = AM
if (mecha.occupant)
var/mob/M = mecha.occupant
if(world.time - M.last_bumped <= 10) return //Can bump-open one airlock per second. This is to prevent popup message spam.
M.last_bumped = world.time
attack_hand(M)
return 0