mirror of
https://github.com/godotengine/godot.git
synced 2025-04-19 01:27:45 +08:00
Fix index out of range error in string.Extension()
(cherry picked from commit c7e98eef67639d6ba66fae80d2d691e1a8af79d4)
This commit is contained in:
parent
31ce9ba07f
commit
6224f02c56
@ -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…
x
Reference in New Issue
Block a user