mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
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:
@@ -115,7 +115,7 @@ datum/preferences
|
||||
|
||||
|
||||
// Naughty.
|
||||
allow_ERP = 1
|
||||
allow_ERP = 0
|
||||
ERP_Notes = ""
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user