From 0a40ddd6b74c29bed0e03209746f5ae84ae8f58b Mon Sep 17 00:00:00 2001 From: Alberyk Date: Sun, 8 Apr 2018 14:47:47 -0300 Subject: [PATCH] Fixes #4554 (#4555) --- code/modules/events/wallrot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/events/wallrot.dm b/code/modules/events/wallrot.dm index e64bccb2774..b31eeb4d36e 100644 --- a/code/modules/events/wallrot.dm +++ b/code/modules/events/wallrot.dm @@ -12,7 +12,7 @@ datum/event/wallrot/start() // 100 attempts for(var/i=0, i<100, i++) - var/turf/candidate = locate(rand(1, world.maxx), rand(1, world.maxy), 1) + var/turf/candidate = locate(rand(1, world.maxx), rand(1, world.maxy), pick(current_map.station_levels)) if(istype(candidate, /turf/simulated/wall)) center = candidate