Fix index out of range error in string.Extension()
This commit is contained in:
parent
7de36f0517
commit
c7e98eef67
|
@ -225,7 +225,7 @@ namespace Godot
|
||||||
if (pos < 0)
|
if (pos < 0)
|
||||||
return instance;
|
return instance;
|
||||||
|
|
||||||
return instance.Substring(pos + 1, instance.Length);
|
return instance.Substring(pos + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// <summary>
|
// <summary>
|
||||||
|
|
Loading…
Reference in New Issue