mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-17 19:23:21 +01:00
[MIRROR] next globs (#12552)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73faa45a34
commit
5567a1a245
@@ -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