mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
Convert changelog to TGUI (#58593)
This pull request converts the changelog to TGUI. Note: Old unused changelog files will be automatically removed on the next changelog run Why It's Good For The Game More consistent UI, ability to view all historic logs. Changelog cl Celotajs refactor: Converted the changelog popup to TGUI /cl
This commit is contained in:
@@ -101,9 +101,10 @@
|
||||
/client/verb/changelog()
|
||||
set name = "Changelog"
|
||||
set category = "OOC"
|
||||
var/datum/asset/simple/namespaced/changelog = get_asset_datum(/datum/asset/simple/namespaced/changelog)
|
||||
changelog.send(src)
|
||||
src << browse(changelog.get_htmlloader("changelog.html"), "window=changes;size=675x650")
|
||||
if(!GLOB.changelog_tgui)
|
||||
GLOB.changelog_tgui = new /datum/changelog()
|
||||
|
||||
GLOB.changelog_tgui.ui_interact(usr)
|
||||
if(prefs.lastchangelog != GLOB.changelog_hash)
|
||||
prefs.lastchangelog = GLOB.changelog_hash
|
||||
prefs.save_preferences()
|
||||
|
||||
Reference in New Issue
Block a user