Skip to content

Commit 4b88d5d

Browse files
authored
fix: 🐛 don't remove new lines in param_string (#497)
1 parent 70f54ca commit 4b88d5d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

addons/mod_loader/internal/mod_hook_preprocessor.gd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ static func get_function_parameters(method_name: String, text: String, is_static
268268
# Clean whitespace characters (spaces, newlines, tabs)
269269
param_string = param_string.strip_edges()\
270270
.replace(" ", "")\
271-
.replace("\\\n", "")\
272-
.replace("\n", "")\
273271
.replace("\t", "")\
274272
.replace(",", ", ")\
275273
.replace(":", ": ")

0 commit comments

Comments
 (0)