View difference between Paste ID: ywFpu17i and LxrsVvkh
SHOW: | | - or go back to the newest paste.
1
        private void SaveData()
2
        {
3
            StreamWriter fileOut;
4
            try
5
            {
6
                fileOut = new StreamWriter(Path.Combine("scripts", "ArrestWarrant.dat"));
7
            }
8
            catch (IOException ex)
9
            {
10
                Game.Console.Print(ex.Message);
11-
                Game.DisplayText(ex.Message);
11+
12
            }
13
14
            fileOut.WriteLine("### IF YOU EDIT THIS FILE, ONLY EDIT THE NUMBER VALUES ###");
15
            fileOut.WriteLine("Crimes on arrest warrant (num. of 1-star crimes, then 2 stars, etc.):");
16-
            fileOut.WriteLine("Account Balance:");
16+
17
            fileOut.WriteLine("Days Passed (used to calculate interest):");
18
            fileOut.WriteLine(daysPassed);
19
            fileOut.Close();
20
        }