Skip to content

Commit

Permalink
Let's see if we catch it...
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffyGhoster committed Jun 26, 2023
1 parent 98841f2 commit 1a23e13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/unit_tests/map_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
for(var/obj/machinery/door/airlock/A in world)
var/turf/T = get_turf(A)
checks++
TEST_ASSERT_NOTNULL(T, "A turf does not exist under the door at [A.x],[A.y],[A.z]")
if(istype(T, /turf/space) || istype(T, /turf/unsimulated/floor/asteroid) || isopenturf(T) || T.density)
failed_checks++
TEST_FAIL("Airlock [A] with bad turf at ([A.x],[A.y],[A.z]) in [T.loc].")
Expand Down

0 comments on commit 1a23e13

Please sign in to comment.