mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
stuff
This commit is contained in:
@@ -300,7 +300,7 @@
|
||||
|
||||
while(num)
|
||||
attempts--
|
||||
var/turf/T = locate(rand(lm_min_x, lm_max_x), rand(lm_min_y, lm_max_y),map_z[map_z.len])
|
||||
var/turf/T = locate(rand(TRANSITIONEDGE + LANDING_ZONE_RADIUS, maxx - TRANSITIONEDGE - LANDING_ZONE_RADIUS), rand(TRANSITIONEDGE + LANDING_ZONE_RADIUS, maxy - TRANSITIONEDGE - LANDING_ZONE_RADIUS),map_z[map_z.len])
|
||||
if(!T || (T in places)) // Two landmarks on one turf is forbidden as the landmark code doesn't work with it.
|
||||
continue
|
||||
if(attempts >= 0) // While we have the patience, try to find better spawn points. If out of patience, put them down wherever, so long as there are no repeats.
|
||||
|
||||
Reference in New Issue
Block a user