mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
Refactor hardcoded lateloaded map define zs (#17290)
* Refactor hardcoded lateloaded map define zs to use a GLOB list instead * Refactor groundbase wilds loading * new to init docking codes * fix space whales excessive deleting * update comment * Forgot some aliases * How is this now a missing turf Remove duplicate turf
This commit is contained in:
@@ -35,6 +35,12 @@ var/global/list/map_count = list()
|
||||
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(!map_count[descriptor])
|
||||
|
||||
Reference in New Issue
Block a user