This commit is contained in:
Alberyk
2018-04-08 20:47:47 +03:00
committed by Erki
parent bac613ae43
commit 0a40ddd6b7
+1 -1
View File
@@ -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