Skip to content
Snippets Groups Projects
Commit 6c6b2ed2 authored by Heine, Eric R's avatar Heine, Eric R
Browse files

Removed a needless ToString() on a string variable that actually caused...

Removed a needless ToString() on a string variable that actually caused problems if the string in question was null.
parent bb244130
No related branches found
No related tags found
No related merge requests found
......@@ -31,12 +31,12 @@ namespace Shared.SEUI {
//---------------------------------------------------------------------------
protected override bool DoValuesMatch() {
return input.text == variable.Value.ToString();
return input.text == variable.Value;
}
//---------------------------------------------------------------------------
protected override void UpdateUIValue() {
input.text = variable.Value.ToString();
input.text = variable.Value;
}
//---------------------------------------------------------------------------
......
......@@ -2,7 +2,7 @@
"name": "com.futuretech.shared",
"displayName": "FutureTech Shared",
"description": "Contains shared items such as the Scriptable Variables.",
"version": "0.1.17",
"version": "0.1.18",
"unity": "2018.3",
"license": "MIT",
"repository": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment