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

Added a null safety check for the ScriptableVariableLabels.

parent b755cf50
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ namespace Shared.SEUI {
private string GetValueString() {
var value = GetValue();
if (String.IsNullOrEmpty(format)) {
return value.ToString();
return value != null ? value.ToString() : "";
}
return String.Format(format, value);
}
......
......@@ -2,7 +2,7 @@
"name": "com.futuretech.shared",
"displayName": "FutureTech Shared",
"description": "Contains shared items such as the Scriptable Variables.",
"version": "0.1.26",
"version": "0.1.27",
"unity": "2019.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