Browse Source

Fixed null exception when description string is empty

master
chrisgregan 10 years ago
parent
commit
b3f223ba28
  1. 2
      Assets/Fungus/FungusScript/Scripts/FungusScript.cs

2
Assets/Fungus/FungusScript/Scripts/FungusScript.cs

@ -61,7 +61,7 @@ namespace Fungus
[TextArea(3, 5)] [TextArea(3, 5)]
[Tooltip("Description text displayed in the Fungus Script editor window")] [Tooltip("Description text displayed in the Fungus Script editor window")]
public string description; public string description = "";
/** /**
* Minimum time for each command to execute when runSlowInEditor is enabled. * Minimum time for each command to execute when runSlowInEditor is enabled.

Loading…
Cancel
Save