mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-28 05:06:39 +01:00
Characteristics - Stats / Skills / Talents Backend, /datum/character backend, background-locked alt title backend (#4840)
Co-authored-by: VM_USER <VM_USER> Co-authored-by: silicons <no@you.cat> Co-authored-by: Felix <58342752+TheLordME@users.noreply.github.com>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
silicons
Felix
parent
0787a406c7
commit
817e7c1f22
@@ -48,8 +48,12 @@
|
||||
else if (islist(value))
|
||||
var/list/L = value
|
||||
var/list/items = list()
|
||||
|
||||
if (L.len > 0 && !(name == "underlays" || name == "overlays" || L.len > (IS_NORMAL_LIST(L) ? VV_NORMAL_LIST_NO_EXPAND_THRESHOLD : VV_SPECIAL_LIST_NO_EXPAND_THRESHOLD)))
|
||||
// don't expand if it's:
|
||||
// 1. overlays - this info is rarely needing to be accessed unless you're doing overlay debugging
|
||||
// 2. underlays - ditto
|
||||
// 3. GLOB - there's a metric ton of lists on global variables and we want to avoid admins needing to download MB's of data instantly
|
||||
// 4. if the list is too long otherwise
|
||||
if (L.len > 0 && !(name == "underlays" || name == "overlays" || D == GLOB || L.len > (IS_NORMAL_LIST(L) ? VV_NORMAL_LIST_NO_EXPAND_THRESHOLD : VV_SPECIAL_LIST_NO_EXPAND_THRESHOLD)))
|
||||
for (var/i in 1 to L.len)
|
||||
var/key = L[i]
|
||||
var/val
|
||||
|
||||
Reference in New Issue
Block a user