byond 1670 support (#18775)

* byond 1670 support

* .
This commit is contained in:
Kashargul
2025-11-26 15:25:50 +01:00
committed by GitHub
parent fbb587ce90
commit d513debe2e
9 changed files with 57 additions and 19 deletions
+2 -2
View File
@@ -11,13 +11,13 @@ SUBSYSTEM_DEF(events)
var/list/datum/event/finished_events = list()
var/list/datum/event/allEvents
var/list/datum/event_container/event_containers
var/alist/event_containers
var/datum/event_meta/new_event = new
/datum/controller/subsystem/events/Initialize()
allEvents = subtypesof(/datum/event)
event_containers = list(
event_containers = alist(
EVENT_LEVEL_MUNDANE = new/datum/event_container/mundane,
EVENT_LEVEL_MODERATE = new/datum/event_container/moderate,
EVENT_LEVEL_MAJOR = new/datum/event_container/major
+3 -3
View File
@@ -379,7 +379,7 @@ SUBSYSTEM_DEF(timer)
var/spent = 0
/// Holds info about this timer, stored from the moment it was created
/// Used to create a visible "name" whenever the timer is stringified
var/list/timer_info
var/alist/timer_info
/// Next timed event in the bucket
var/datum/timedevent/next
/// Previous timed event in the bucket
@@ -521,7 +521,7 @@ SUBSYSTEM_DEF(timer)
/datum/timedevent/proc/bucketJoin()
#if defined(TIMER_DEBUG)
// Generate debug-friendly list for timer, more complex but also more expensive
timer_info = list(
timer_info = alist(
1 = id,
2 = timeToRun,
3 = wait,
@@ -536,7 +536,7 @@ SUBSYSTEM_DEF(timer)
)
#else
// Generate a debuggable list for the timer, simpler but wayyyy cheaper, string generation (and ref/copy memes) is a bitch and this saves a LOT of time
timer_info = list(
timer_info = alist(
1 = id,
2 = timeToRun,
3 = wait,