Global component signals

This commit is contained in:
Jordan Brown
2018-06-19 18:18:11 -04:00
committed by letterjay
parent 49a34614cd
commit c11557d23d
10 changed files with 102 additions and 1 deletions
@@ -17,6 +17,7 @@
z_list += S
/datum/controller/subsystem/mapping/proc/add_new_zlevel(name, traits = list(), z_type = /datum/space_level)
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_NEW_Z, args)
var/new_z = z_list.len + 1
if (world.maxz < new_z)
world.incrementMaxZ()