mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
next globs (#19292)
* next globs * few more * some more * . * should be added on map laod * . * that needs its own PR * .
This commit is contained in:
@@ -22,8 +22,8 @@ SUBSYSTEM_DEF(events)
|
||||
/*EVENT_LEVEL_MODERATE = */ new/datum/event_container/moderate,
|
||||
/*EVENT_LEVEL_MAJOR = */ new/datum/event_container/major
|
||||
)
|
||||
if(global.using_map.use_overmap)
|
||||
GLOB.overmap_event_handler.create_events(global.using_map.overmap_z, global.using_map.overmap_size, global.using_map.overmap_event_areas)
|
||||
if(using_map.use_overmap)
|
||||
GLOB.overmap_event_handler.create_events(using_map.overmap_z, using_map.overmap_size, using_map.overmap_event_areas)
|
||||
return SS_INIT_SUCCESS
|
||||
|
||||
/datum/controller/subsystem/events/fire(resumed)
|
||||
|
||||
@@ -96,7 +96,7 @@ SUBSYSTEM_DEF(skybox)
|
||||
return skybox_cache["[z]"]
|
||||
|
||||
/datum/controller/subsystem/skybox/proc/generate_skybox(z)
|
||||
var/datum/skybox_settings/settings = global.using_map.get_skybox_datum(z)
|
||||
var/datum/skybox_settings/settings = using_map.get_skybox_datum(z)
|
||||
|
||||
var/new_overlays = list()
|
||||
|
||||
@@ -113,7 +113,7 @@ SUBSYSTEM_DEF(skybox)
|
||||
|
||||
new_overlays += base
|
||||
|
||||
if(global.using_map.use_overmap && settings.use_overmap_details)
|
||||
if(using_map.use_overmap && settings.use_overmap_details)
|
||||
var/obj/effect/overmap/visitable/O = get_overmap_sector(z)
|
||||
if(istype(O))
|
||||
var/image/self_image = O.generate_skybox(z)
|
||||
|
||||
Reference in New Issue
Block a user