Added postgres support (#556)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
f95c5b7921
commit
514d05b237
@@ -38,15 +38,6 @@ namespace Content.Shared.Preferences
|
||||
|
||||
public int FirstEmptySlot => IndexOfCharacter(null);
|
||||
|
||||
public static PlayerPreferences Default()
|
||||
{
|
||||
return new PlayerPreferences(new List<ICharacterProfile>
|
||||
{
|
||||
HumanoidCharacterProfile.Default()
|
||||
},
|
||||
0);
|
||||
}
|
||||
|
||||
public int IndexOfCharacter(ICharacterProfile profile)
|
||||
{
|
||||
return _characters.FindIndex(x => x == profile);
|
||||
|
||||
Reference in New Issue
Block a user