mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Send changelog CSS and images.
This commit is contained in:
@@ -31,6 +31,28 @@
|
||||
if(client)
|
||||
//If the changelog has changed, show it to them
|
||||
if(client.prefs.lastchangelog != changelog_hash)
|
||||
// Need to send them the CSS and images :V
|
||||
client.getFiles(
|
||||
'html/postcardsmall.jpg',
|
||||
'html/somerights20.png',
|
||||
'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")
|
||||
client.prefs.lastchangelog = changelog_hash
|
||||
client.prefs.save_preferences()
|
||||
|
||||
Reference in New Issue
Block a user