mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-02-02 06:17:34 +00:00
create user list if it is null
This commit is contained in:
parent
f893cbf3a1
commit
f26bab8310
1 changed files with 8 additions and 3 deletions
|
@ -198,7 +198,10 @@ namespace ShiftOS.Engine
|
|||
Thread.Sleep(50);
|
||||
Console.WriteLine("{SYSTEM_INITIATED}");
|
||||
|
||||
|
||||
|
||||
if (CurrentSave.Users == null)
|
||||
CurrentSave.Users = new List<ClientSave>();
|
||||
|
||||
|
||||
if(CurrentSave.Users.Count == 0)
|
||||
{
|
||||
|
@ -294,8 +297,10 @@ namespace ShiftOS.Engine
|
|||
|
||||
public static List<ClientSave> Users
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
get
|
||||
{
|
||||
return CurrentSave.Users;
|
||||
}
|
||||
}
|
||||
|
||||
public static event EmptyEventHandler GameReady;
|
||||
|
|
Loading…
Add table
Reference in a new issue