Ignore:
Timestamp:
Aug 30, 2014, 6:11:18 PM (10 years ago)
Author:
alloc
Message:

Fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/PersistentData/PersistentContainer.cs

    r143 r144  
    11using System;
    2 using System.Collections.Generic;
    32using System.IO;
    43using System.Runtime.Serialization;
     
    109        public class PersistentContainer
    1110        {
    12                 public Dictionary<string, KnownPlayers> players = new Dictionary<string, KnownPlayers> ();
     11                private Players players;
     12
     13                public Players Players {
     14                        get {
     15                                if (players == null)
     16                                        players = new Players ();
     17                                return players;
     18                        }
     19                }
     20
    1321                private static PersistentContainer instance;
    1422
     
    2432                private PersistentContainer ()
    2533                {
    26                         Log.Out ("new PersistentContainer()");
    2734                }
    2835
Note: See TracChangeset for help on using the changeset viewer.