Merge pull request #19077 from KellyThomas/fix-string-extension
mono: Fix index out of range error in string.Extension()
This commit is contained in:
commit
689290d71b
|
@ -225,7 +225,7 @@ namespace Godot
|
|||
if (pos < 0)
|
||||
return instance;
|
||||
|
||||
return instance.Substring(pos + 1, instance.Length);
|
||||
return instance.Substring(pos + 1);
|
||||
}
|
||||
|
||||
// <summary>
|
||||
|
|
Loading…
Reference in New Issue