Generate news index from list

This commit is contained in:
Cerebulon
2021-08-19 07:37:22 +01:00
parent 3aa4b45ae2
commit e013dd567d
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -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"