Adds a do_after when unbuckling people from wheelchairs (#31025)

* anti bullying mechanism

* fix code sin

* Update code/game/objects/structures/stool_bed_chair_nest/wheelchair.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Ahzpy <88119260+Ahzpy@users.noreply.github.com>

---------

Signed-off-by: Ahzpy <88119260+Ahzpy@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Ahzpy
2025-11-22 19:43:30 +00:00
committed by GitHub
co-authored by DGamerL
parent 0122cbb797
commit 2008eafa40
@@ -17,6 +17,10 @@
var/mob/living/buckled_mob = m
buckled_mob.setDir(dir)
/obj/structure/chair/wheelchair/user_unbuckle_mob(mob/living/buckled_mob, mob/user)
if(do_after(user, 2 SECONDS, target = buckled_mob))
return ..()
/obj/structure/chair/wheelchair/post_buckle_mob(mob/living/M)
. = ..()
handle_layer()