mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Now changelog is shown only if it was changed since last login.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@766 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -37,7 +37,16 @@ mob/new_player
|
||||
|
||||
if(!preferences.savefile_load(src, 0))
|
||||
preferences.ShowChoices(src)
|
||||
|
||||
if (src.client.changes)
|
||||
src.changes()
|
||||
else
|
||||
var/lastchangelog = length('changelog.html')
|
||||
world << "DEBUG: lastchangelog = [lastchangelog]"
|
||||
world << "DEBUG: preferences.lastchangelog = [preferences.lastchangelog]"
|
||||
if (!src.client.changes && preferences.lastchangelog!=lastchangelog)
|
||||
src.changes()
|
||||
preferences.lastchangelog = lastchangelog
|
||||
preferences.savefile_save(src)
|
||||
//PDA Resource Initialisation =======================================================>
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ datum/preferences
|
||||
var/be_syndicate
|
||||
var/midis = 1
|
||||
var/be_alien = 1
|
||||
var/lastchangelog = 0 // size of last seen changelog file -- rastaf0 -- rastaf0
|
||||
var/ooccolor = "#b82e00"
|
||||
var/be_random_name = 0
|
||||
var/underwear = 1
|
||||
|
||||
Reference in New Issue
Block a user