fixed compilation issues

This commit is contained in:
Yoshman29
2022-10-06 23:22:59 +02:00
parent 409eaea5c6
commit 0d94f5bc05
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class Script {
* @param text Text of the error (ex: Null Object Reference).
* @param additionalInfo Additional information you could provide.
*/
public function error(text:String, additionalInfo:Dynamic):Void {
public function error(text:String, ?additionalInfo:Dynamic):Void {
// TODO: Logs (like on YCE)
trace('$text');
}