mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] moves the last admin verbs (#12656)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
0ff0ec0cca
commit
256cd81e28
@@ -31,7 +31,7 @@
|
||||
// Test to see if rand_seed() can be used reliably.
|
||||
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)
|
||||
/datum/random_map/New(var/seed, var/tx, var/ty, var/tz, var/tlx, var/tly, var/do_not_apply, var/do_not_announce, var/admin_map)
|
||||
if(!isnum(tz))
|
||||
var/old_tz = tz
|
||||
tz = GLOB.map_templates_loaded[tz]
|
||||
@@ -45,7 +45,7 @@
|
||||
else
|
||||
GLOB.map_count[descriptor]++
|
||||
name = "[descriptor] #[GLOB.map_count[descriptor]]"
|
||||
if(preserve_map) GLOB.random_maps[name] = src
|
||||
if(preserve_map || admin_map) GLOB.random_maps[name] = src
|
||||
|
||||
// Get origins for applying the map later.
|
||||
set_origins(tx, ty, tz)
|
||||
|
||||
Reference in New Issue
Block a user