Revert "Fix parsing floats (#7)"

This reverts commit 5fc9082a02.
This commit is contained in:
hondacrx
2017-12-14 21:53:22 -05:00
parent 5fc9082a02
commit 6c6cdac426
5 changed files with 20 additions and 25 deletions
+1 -2
View File
@@ -26,7 +26,6 @@ using Game.Maps;
using Game.Network.Packets;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace Game.Chat
@@ -893,7 +892,7 @@ namespace Game.Chat
}
else
{
if (!float.TryParse(valueStr, NumberStyles.Float, CultureInfo.InvariantCulture, out float value))
if (!float.TryParse(valueStr, out float value))
return false;
target.SetFloatValue(field, value);