mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
I suspect the issue is with null entries in the records list. This just nukes them all before processing with sorting. I looked over all of the list accesses, and they didn't appear to be index controlled, so this shouldn't break anything.
46 lines
808 B
Plaintext
46 lines
808 B
Plaintext
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
|
|
|
|
/datum/data
|
|
var/name = "data"
|
|
var/size = 1.0
|
|
|
|
|
|
/datum/data/function
|
|
name = "function"
|
|
size = 2.0
|
|
|
|
|
|
/datum/data/function/data_control
|
|
name = "data control"
|
|
|
|
|
|
/datum/data/function/id_changer
|
|
name = "id changer"
|
|
|
|
|
|
/datum/data/record
|
|
name = "record"
|
|
size = 5.0
|
|
var/list/fields = list()
|
|
var/inDataCore = 0
|
|
|
|
/datum/data/record/Destroy()
|
|
// Just remove us from everywhere. So we don't have to keep track of which list
|
|
// we're in specifically.
|
|
if (inDataCore && data_core)
|
|
data_core.general -= src
|
|
data_core.medical -= src
|
|
data_core.security -= src
|
|
data_core.locked -= src
|
|
|
|
return ..()
|
|
|
|
/datum/data/text
|
|
name = "text"
|
|
var/data = null
|
|
|
|
|
|
|
|
/datum/debug
|
|
var/list/debuglist
|