diff --git a/RuriLib/LoliScript/LoliScript.cs b/RuriLib/LoliScript/LoliScript.cs index 9d65e07..0b14e0a 100644 --- a/RuriLib/LoliScript/LoliScript.cs +++ b/RuriLib/LoliScript/LoliScript.cs @@ -338,7 +338,7 @@ namespace RuriLib.LS { label = LineParser.ParseToken(ref cfLine, TokenType.Label, true); i = ScanFor(lines, -1, true, new string[] { $"{label}" }) - 1; - data.LogBuffer.Add(new LogEntry($"Jumping to line {i + 1}", Colors.White)); + data.LogBuffer.Add(new LogEntry($"Jumping to line {i + 2}", Colors.White)); } catch { throw new Exception($"No block with label {label} was found"); } break; @@ -358,7 +358,7 @@ namespace RuriLib.LS otherScript = string.Join(Environment.NewLine, lines.Skip(i + 1).Take(end - i)); i = end; - data.LogBuffer.Add(new LogEntry($"Jumping to line {i + 1}", Colors.White)); + data.LogBuffer.Add(new LogEntry($"Jumping to line {i + 2}", Colors.White)); break; } break;