- Profiles that were created before ghost ears was added had their ghost_ears value set to null, which then copied over. the profile setup page understood this as "hears everyone" while the game understood this as null, which is neither "hears everyone" nor "nearby creatures only", but it took null as 0, so it defaulted to "nearby creatures only". Applied a legacyfix that will properly update the profiles of everyone who does not yet have this set.

- To fix this for your own character before this goes live, just toggle the ghost-ears setting on your profile setup page at least once and then select the option you wish to have. Then save the profile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3116 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-02-12 20:59:06 +00:00
parent e5d2b7ac7b
commit 6255bb3086
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -650,8 +650,9 @@ datum/preferences
C.ooccolor = src.ooccolor
C.be_alien = be_special & BE_ALIEN
C.be_pai = be_special & BE_PAI
if(isnull(src.ghost_ears)) src.ghost_ears = 1 //There were problems where the default was null before someone saved their profile.
C.ghost_ears = src.ghost_ears
#undef UI_OLD
#undef UI_NEW
+1
View File
@@ -100,6 +100,7 @@ datum/preferences/proc/savefile_load(mob/user)
F["name_is_always_random"] >> src.be_random_name
F["midis"] >> src.midis
F["ghost_ears"] >> src.ghost_ears
if(isnull(ghost_ears)) ghost_ears = 1 //Hotfix
F["ooccolor"] >> src.ooccolor
F["lastchangelog"] >> src.lastchangelog
F["UI"] >> src.UI