mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-11 03:10:28 +00:00
Merge pull request #2327 from LetterN/lore-optimization
Optimizes lorecode
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
/datum/lore/codex/category/auto_org/New(var/new_holder, var/new_parent)
|
||||
..(new_holder, new_parent)
|
||||
keywords += auto_keywords
|
||||
for(var/path in loremaster.organizations)
|
||||
var/datum/lore/organization/O = loremaster.organizations[path]
|
||||
for(var/path in GLOB.loremaster.organizations)
|
||||
var/datum/lore/organization/O = GLOB.loremaster.organizations[path]
|
||||
if(!(istype(O, desired_type)))
|
||||
continue
|
||||
var/datum/lore/codex/page/P = new(holder, src)
|
||||
|
||||
Reference in New Issue
Block a user