Skip to content

Commit

Permalink
bugfix: updating mapgen names in loading screen (#5056)
Browse files Browse the repository at this point in the history
* yep

* всё реально можно проще сделать

* Duplicate Code

---------

Co-authored-by: Zwei <[email protected]>
  • Loading branch information
NightDawnFox and Gottfrei authored May 20, 2024
1 parent 9e4a3bd commit 2e7e374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions code/datums/mapgen/CaveGenerator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
new_turf = new new_turf(gen_turf)

var/message = "[name] terrain generation finished in [(REALTIMEOFDAY - start_time)/10]s!"
to_chat(world, span_boldannounce("[message]"))
log_startup_progress_global("Mapping", message)
log_world(message)

/datum/map_generator/cave_generator/populate_terrain(list/turfs, area/generate_in)
Expand Down Expand Up @@ -158,5 +158,4 @@
spawned_something = TRUE

var/message = "[name] terrain population finished in [(REALTIMEOFDAY - start_time)/10]s!"
to_chat(world, "<span class='boldannounce'>[message]</span>")
log_world(message)
log_startup_progress_global("Mapping", message)
4 changes: 2 additions & 2 deletions code/datums/mapgen/LavalandGenerator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
continue
var/turf/new_turf = hard_path
new_turf = T.ChangeTurf(new_turf)

var/message = "Lavaland Auxiliary generation finished in [(REALTIMEOFDAY - start_time)/10]s!"
to_chat(world, span_boldannounce("[message]"))
log_world(message)
log_startup_progress_global("Mapping", message)

0 comments on commit 2e7e374

Please sign in to comment.