[MIRROR] Simultaneous map definitions (#10295)

Co-authored-by: Drathek <76988376+Drulikar@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-09 15:51:17 -07:00
committed by GitHub
parent 79d8693a6f
commit 651c8bc1af
262 changed files with 8190 additions and 624462 deletions
+6
View File
@@ -32,6 +32,12 @@
var/priority_process
/datum/random_map/New(var/seed, var/tx, var/ty, var/tz, var/tlx, var/tly, var/do_not_apply, var/do_not_announce)
if(!isnum(tz))
var/old_tz = tz
tz = GLOB.map_templates_loaded[tz]
if(!tz)
admin_notice(span_danger("[src] could not be created on an unknown z ([old_tz])!"), R_DEBUG)
return
// Store this for debugging.
if(!GLOB.map_count[descriptor])