Update BoolProperty.cs

This commit is contained in:
differenceclouds 2024-11-14 09:20:37 -05:00
parent c83c8c7be9
commit 606d2ec57d

View file

@ -17,7 +17,7 @@ public class BoolProperty : IProperty<bool>
public required bool Value { get; set; }
/// <inheritdoc/>
public string ValueString => Value.ToString();
public string ValueString => Value ? "true" : "false"; //Tiled outputs lowercase
/// <inheritdoc/>
public IProperty Clone() => new BoolProperty