2
0
Эх сурвалжийг харах

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

Kelly Thomas 7 жил өмнө
parent
commit
c7e98eef67

+ 1 - 1
modules/mono/glue/cs_files/StringExtensions.cs

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