diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 5e4418856d9..4b2bef442a9 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -193,7 +193,7 @@ var/next_external_rsc = 0 if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. src << "You have unread updates in the changelog." if(config.aggressive_changelog) - src.changes() + changelog() else winset(src, "infowindow.changelog", "font-style=bold") @@ -333,32 +333,3 @@ var/next_external_rsc = 0 spawn (10) //removing this spawn causes all clients to not get verbs. //Precache the client with all other assets slowly, so as to not block other browse() calls getFilesSlow(src, SSasset.cache, register_asset = FALSE) - -//view changelog -/client/verb/changes() - set name = "Changelog" - set category = "OOC" - getFiles( - 'html/88x31.png', - 'html/bug-minus.png', - 'html/cross-circle.png', - 'html/hard-hat-exclamation.png', - 'html/image-minus.png', - 'html/image-plus.png', - 'html/music-minus.png', - 'html/music-plus.png', - 'html/tick-circle.png', - 'html/wrench-screwdriver.png', - 'html/spell-check.png', - 'html/burn-exclamation.png', - 'html/chevron.png', - 'html/chevron-expand.png', - 'html/changelog.css', - 'html/changelog.js', - 'html/changelog.html' - ) - src << browse('html/changelog.html', "window=changes;size=675x650") - if(prefs.lastchangelog != changelog_hash) - prefs.lastchangelog = changelog_hash - prefs.save_preferences() - winset(src, "infowindow.changelog", "font-style=;") diff --git a/interface/interface.dm b/interface/interface.dm index 578e0f084fd..3b90cb648c3 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -24,7 +24,7 @@ return /client/verb/rules() - set name = "Rules" + set name = "rules" set desc = "Show Server Rules." set hidden = 1 if(config.rulesurl) @@ -36,7 +36,7 @@ return /client/verb/github() - set name = "Github" + set name = "github" set desc = "Visit Github" set hidden = 1 if(config.githuburl) @@ -48,7 +48,7 @@ return /client/verb/reportissue() - set name = "Report issue" + set name = "report-issue" set desc = "Report an issue" set hidden = 1 if(config.githuburl) @@ -76,6 +76,34 @@ Admin: if(holder) src << adminhotkeys +/client/verb/changelog() + set name = "Changelog" + set category = "OOC" + getFiles( + 'html/88x31.png', + 'html/bug-minus.png', + 'html/cross-circle.png', + 'html/hard-hat-exclamation.png', + 'html/image-minus.png', + 'html/image-plus.png', + 'html/music-minus.png', + 'html/music-plus.png', + 'html/tick-circle.png', + 'html/wrench-screwdriver.png', + 'html/spell-check.png', + 'html/burn-exclamation.png', + 'html/chevron.png', + 'html/chevron-expand.png', + 'html/changelog.css', + 'html/changelog.js', + 'html/changelog.html' + ) + src << browse('html/changelog.html', "window=changes;size=675x650") + if(prefs.lastchangelog != changelog_hash) + prefs.lastchangelog = changelog_hash + prefs.save_preferences() + winset(src, "infowindow.changelog", "font-style=;") + /mob/proc/hotkey_help() var/hotkey_mode = {"