diff --git a/code/WorkInProgress/Ported/policetape.dm b/code/WorkInProgress/Ported/policetape.dm index 4a6d1b7c066..e51791050d9 100644 --- a/code/WorkInProgress/Ported/policetape.dm +++ b/code/WorkInProgress/Ported/policetape.dm @@ -49,11 +49,19 @@ end = get_turf(locate(end.x+d,end.y,end.z)) dir = "h" - while (cur!=end) + var/can_place = 1 + while (cur!=end && can_place) if(cur.density == 1) - usr << "\blue You can't run [src] through a wall!" - return + can_place = 0 + else + for(var/obj/O in cur) + if(O.density) + can_place = 0 + break cur = get_step_towards(cur,end) + if (!can_place) + usr << "\blue You can't run \the [src] through that!" + return cur = start var/tapetest = 0 diff --git a/html/changelog.html b/html/changelog.html index d8701c06f90..74865925b2c 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -47,6 +47,15 @@ Stuff which is in development and not yet visible to players or just code relate should be listed in the changelog upon commit though. Thanks. --> +