Makes allow_ERP for a player start off by default.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3388 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-04-01 17:32:42 +00:00
parent 554b4bafb7
commit 21ae24c083
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ datum/preferences
// Naughty.
allow_ERP = 1
allow_ERP = 0
ERP_Notes = ""
+5
View File
@@ -131,6 +131,11 @@ datum/preferences/proc/savefile_load(mob/user)
F["allow_ERP"] >> src.allow_ERP
F["ERP_Notes"] >> src.ERP_Notes
if(isnull(allow_ERP))
allow_ERP = 0
if(isnull(ERP_Notes))
ERP_Notes = ""
//NOTE: Conversion things go inside this if statement
//When updating the save file remember to add 1 to BOTH the savefile constants
//Also take the old conversion things that no longer apply out of this if