mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Merge pull request #3711 from Tastyfish/cartdoors
Allows wheelchairs, janicarts, and ambulances to open doors
This commit is contained in:
@@ -54,6 +54,9 @@
|
||||
var/turf/T = get_step(A, dir)
|
||||
if(isturf(T))
|
||||
A.Move(T) //bump things away when hit
|
||||
|
||||
if(ismob(load) && istype(Obstacle, /obj/machinery/door))
|
||||
Obstacle.Bumped(load)
|
||||
|
||||
if(emagged)
|
||||
if(istype(A, /mob/living))
|
||||
|
||||
Reference in New Issue
Block a user