Skip to content

Commit

Permalink
fixes about 14000 roundstart active turfs (ParadiseSS13#22207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertytoforty authored Sep 2, 2023
1 parent c05f40b commit 7259665
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/turfs/simulated/floor/lava.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,17 @@
icon_state = "mappinglava"
base_icon_state = "mappinglava"
baseturf = /turf/simulated/floor/plating/lava/smooth/mapping_lava
temperature = 300
oxygen = 14
nitrogen = 23
planetary_atmos = TRUE


/turf/simulated/floor/plating/lava/smooth/mapping_lava/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD //Lateload is needed, otherwise atmos does not setup right on the turf roundstart, leading it to be vacume. This is bad.

/turf/simulated/floor/plating/lava/smooth/mapping_lava/LateInitialize()
. = ..()
ChangeTurf(SSmapping.lavaland_theme)

Expand Down

0 comments on commit 7259665

Please sign in to comment.