mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user