فهرست منبع

fix for js version

Simon Van Mierlo 8 سال پیش
والد
کامیت
5b877d6be6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/javascript_sccd_runtime/statecharts_core.js

+ 1 - 1
src/javascript_sccd_runtime/statecharts_core.js

@@ -511,7 +511,7 @@ ControllerBase.prototype.addOutputPort = function(port_name) {
 
 ControllerBase.prototype.broadcast = function(new_event, time_offset) {
     if (time_offset === undefined) time_offset = 0
-	this.object_manager.broadcast(new_event, time_offset);
+	this.object_manager.broadcast(undefined, new_event, time_offset);
 };
 
 ControllerBase.prototype.start = function() {