From 606d2ec57d59acc5e6e99658b641ef3f4bce1f70 Mon Sep 17 00:00:00 2001 From: differenceclouds Date: Thu, 14 Nov 2024 09:20:37 -0500 Subject: [PATCH] Update BoolProperty.cs --- src/DotTiled/Properties/BoolProperty.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotTiled/Properties/BoolProperty.cs b/src/DotTiled/Properties/BoolProperty.cs index 0597e60..5e1d39b 100644 --- a/src/DotTiled/Properties/BoolProperty.cs +++ b/src/DotTiled/Properties/BoolProperty.cs @@ -17,7 +17,7 @@ public class BoolProperty : IProperty public required bool Value { get; set; } /// - public string ValueString => Value.ToString(); + public string ValueString => Value ? "true" : "false"; //Tiled outputs lowercase /// public IProperty Clone() => new BoolProperty