mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 20:52:52 +01:00
Generate news index from list
This commit is contained in:
@@ -112,7 +112,11 @@
|
||||
/datum/lore/codex/page/about_news,
|
||||
)
|
||||
|
||||
var/newsindex = "103" //Update with number of latest article
|
||||
var/newsindex
|
||||
|
||||
/datum/lore/codex/category/main_news/New()
|
||||
..()
|
||||
newsindex = LAZYLEN(children)
|
||||
|
||||
/datum/lore/codex/page/about_news
|
||||
name = "About the Publisher"
|
||||
|
||||
Reference in New Issue
Block a user