Fixes #26522 | Wheelchairs with bots are now dense (#26838)

* wheelchairs are now dense when bots are placed on them

* adresses DGL review
This commit is contained in:
Silverplate
2024-09-25 10:10:33 +00:00
committed by GitHub
parent fbe77e20aa
commit 21cab7b26f
@@ -17,6 +17,16 @@
var/mob/living/buckled_mob = m
buckled_mob.setDir(dir)
/obj/structure/chair/wheelchair/post_buckle_mob(mob/living/M)
. = ..()
handle_layer()
density = TRUE
/obj/structure/chair/wheelchair/post_unbuckle_mob()
. = ..()
handle_layer()
density = FALSE
/obj/structure/chair/wheelchair/relaymove(mob/user, direction)
if(propelled)
return 0