adds double upstreams too

This commit is contained in:
Verkister
2021-10-22 17:23:07 +03:00
parent 0dcff8498b
commit 2bccef7423
3 changed files with 4 additions and 2 deletions

View File

@@ -234,6 +234,8 @@
return ..()
/obj/item/mecha_parts/mecha_equipment/proc/detach(atom/moveto=null)
if(!chassis)
return
moveto = moveto || get_turf(chassis)
forceMove(moveto)
chassis.equipment -= src

View File

@@ -38,7 +38,7 @@
for(var/d in cardinal)
var/turf/simulated/target = get_step(src,d)
var/turf/simulated/origin = get_turf(src)
if(origin.CanPass(null, target, 0, 0) && target.CanPass(null, origin, 0, 0))
if(origin.CanPass(src, target, 0, 0) && target.CanPass(src, origin, 0, 0))
var/obj/effect/decal/cleanable/liquid_fuel/other_fuel = locate() in target
if(other_fuel)
other_fuel.amount += amount*0.25

View File

@@ -1,4 +1,5 @@
/obj/structure/girder
name = "girder"
icon_state = "girder"
anchored = TRUE
density = TRUE
@@ -418,4 +419,3 @@
/obj/structure/girder/eris
wall_type = /turf/simulated/wall/eris