mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 03:36:07 +01:00
[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:
committed by
GitHub
parent
79d8693a6f
commit
651c8bc1af
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user