diff --git a/Gameloop.Vdf/VValue.cs b/Gameloop.Vdf/VValue.cs index ac0b313..30648bf 100644 --- a/Gameloop.Vdf/VValue.cs +++ b/Gameloop.Vdf/VValue.cs @@ -1,4 +1,6 @@ -namespace Gameloop.Vdf +using System; + +namespace Gameloop.Vdf { public class VValue : VToken { @@ -16,7 +18,7 @@ public override void WriteTo(VdfWriter writer) public override string ToString() { - return Value.ToString(); + return Value?.ToString() ?? String.Empty; } } }