mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fix for borked atmos on away missions. This may still need some further tweaking, but it definitely fixes the issue. I looked at the powernet issue too, but I couldn't reproduce it anymore. Maybe it's fixed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4887 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -152,10 +152,8 @@ datum
|
|||||||
var/start_time = world.timeofday
|
var/start_time = world.timeofday
|
||||||
|
|
||||||
for(var/turf/simulated/S in world)
|
for(var/turf/simulated/S in world)
|
||||||
if(!S.blocks_air && !S.parent && S.z < 5) // Added last check to force skipping asteroid z-levels -- TLE
|
if(!S.blocks_air && !S.parent)
|
||||||
assemble_group_turf(S)
|
assemble_group_turf(S)
|
||||||
if(S.z > 4) // Skipping asteroids -- TLE
|
|
||||||
continue
|
|
||||||
S.update_air_properties()
|
S.update_air_properties()
|
||||||
|
|
||||||
world << "\red \b Geometry processed in [(world.timeofday-start_time)/10] seconds!"
|
world << "\red \b Geometry processed in [(world.timeofday-start_time)/10] seconds!"
|
||||||
|
|||||||
@@ -43,10 +43,10 @@ proc/createRandomZlevel()
|
|||||||
world << "\red \b Loading away mission..."
|
world << "\red \b Loading away mission..."
|
||||||
|
|
||||||
var/map = pick(potentialRandomZlevels)
|
var/map = pick(potentialRandomZlevels)
|
||||||
world.log << "away mission loaded: [map]"
|
|
||||||
var/file = file(map)
|
var/file = file(map)
|
||||||
if(isfile(file))
|
if(isfile(file))
|
||||||
maploader.load_map(file)
|
maploader.load_map(file)
|
||||||
|
world.log << "away mission loaded: [map]"
|
||||||
|
|
||||||
for(var/obj/effect/landmark/L in landmarks_list)
|
for(var/obj/effect/landmark/L in landmarks_list)
|
||||||
if (L.name != "awaystart")
|
if (L.name != "awaystart")
|
||||||
|
|||||||
Reference in New Issue
Block a user