Update GamePropertyAttribute.cs

This commit is contained in:
Nahuel Rocchetti 2024-06-24 20:13:44 -03:00
parent 46ff93ac9c
commit a4779995b8

View file

@ -16,12 +16,12 @@ namespace OpenTS2.Engine
public string Name { get; private set; }
public bool User { get; private set; }
public GamePropertyAttribute(bool userProp)
public GamePropertyAttribute(bool userProp = false)
{
User = userProp;
}
public GamePropertyAttribute(string name, bool userProp)
public GamePropertyAttribute(string name, bool userProp = false)
{
Name = name;
User = userProp;