Skip to content

Commit

Permalink
fix: EvalLua argument parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
psyGamer committed Feb 28, 2025
1 parent 49cf087 commit 6425dc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static void EvalLua(CommandLine commandLine, int studioLine, string file
return;
}

EvalLuaImpl(commandAndSeparatorRegex.Replace(commandLine.OriginalText, ""));
EvalLuaImpl(string.Join(commandLine.ArgumentSeparator, commandLine.Arguments));
}

public static object?[]? EvalLuaImpl(string code) {
Expand Down

0 comments on commit 6425dc2

Please sign in to comment.