Skip to content

Commit 23c32b9

Browse files
Update Log.cs
1 parent a5dc403 commit 23c32b9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Code/Helpers/Log.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ public static void CompileError(string scrName, string msg)
4949
{
5050
Logger.Raw($"[Script '{scrName}'] [Compile error] {msg}", ConsoleColor.Red);
5151
}
52-
52+
53+
public static void CompileError(string scrName, uint line, string msg)
54+
{
55+
Logger.Raw($"[Script '{scrName}'] [Compile error] [Line {line}] {msg}", ConsoleColor.Red);
56+
}
57+
5358
public static void D(string msg)
5459
{
5560
#if DEBUG

0 commit comments

Comments
 (0)