Fix index out of range error in string.Extension()

This commit is contained in:
Kelly Thomas 2018-05-21 18:45:48 +08:00
parent 7de36f0517
commit c7e98eef67
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ namespace Godot
if (pos < 0)
return instance;
return instance.Substring(pos + 1, instance.Length);
return instance.Substring(pos + 1);
}
// <summary>