Skip to content

Commit b583062

Browse files
authored
Update parser.js
1 parent 5cfbcd4 commit b583062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ChatterScript {
8181
const methodName = match[2];
8282
// Check if the class and method exist
8383
if (className in this.classes && methodName in this.classes[className]) {
84-
this.classes[className][methodName](args); // Call the function with arguments
84+
this.classes[className][methodName](args.join(',')); // Call the function with arguments
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)