mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Door after_attack behavior fix (#11752)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fbad58ea72
commit
4c67e13f8d
@@ -241,7 +241,7 @@
|
|||||||
. = ..()
|
. = ..()
|
||||||
if(.)
|
if(.)
|
||||||
return
|
return
|
||||||
return try_to_activate_door(user)
|
try_to_activate_door(user)
|
||||||
|
|
||||||
/obj/machinery/door/attack_tk(mob/user)
|
/obj/machinery/door/attack_tk(mob/user)
|
||||||
if(requiresID() && !allowed(null))
|
if(requiresID() && !allowed(null))
|
||||||
@@ -344,7 +344,7 @@
|
|||||||
take_damage(W.force)
|
take_damage(W.force)
|
||||||
return
|
return
|
||||||
|
|
||||||
return try_to_activate_door(user)
|
try_to_activate_door(user)
|
||||||
|
|
||||||
/obj/machinery/door/proc/try_to_activate_door(mob/user)
|
/obj/machinery/door/proc/try_to_activate_door(mob/user)
|
||||||
add_fingerprint(user)
|
add_fingerprint(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user