From 16ab0c98851118cbfbb97d6cb29787950bd21c03 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Sun, 9 Mar 2014 22:07:07 +0400 Subject: [PATCH] Fixes single pane windows not blocking airborne viruses completely. --- code/modules/virus2/helpers.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/virus2/helpers.dm b/code/modules/virus2/helpers.dm index 45a987ed67a..3f0be123050 100644 --- a/code/modules/virus2/helpers.dm +++ b/code/modules/virus2/helpers.dm @@ -47,7 +47,7 @@ proc/airborne_can_reach(turf/source, turf/target) for(var/i=0, i<5, i++) if(!step_towards(dummy, target)) break - var/rval = (dummy.loc in range(1,target)) + var/rval = dummy.Adjacent(target) dummy.loc = null dummy = null return rval