Browse Source

Fix: StringHelper

AnnulusGames 1 year ago
parent
commit
ce76bbd557
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Lua/Internal/StringHelper.cs

+ 1 - 1
src/Lua/Internal/StringHelper.cs

@@ -73,8 +73,8 @@ internal static class StringHelper
                             var start = i;
                             for (int j = 0; j < 3; j++)
                             {
-                                if (i >= literal.Length) break;
                                 i++;
+                                if (i >= literal.Length) break;
                                 c = literal[i];
                                 if (!char.IsDigit(c)) break;
                             }