Skip to content

Commit

Permalink
Fix demo mode
Browse files Browse the repository at this point in the history
Urgent fix for demo mode
  • Loading branch information
Scavanger authored Dec 15, 2024
1 parent 1475b04 commit 63fdfee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/sitl.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ var SITLProcess = {
}
}

callback( sitlExePath + " " + args.join(" ") + "\n");
if (callback) {
callback( sitlExePath + " " + args.join(" ") + "\n");
}
this.spawn(sitlExePath, args, callback);
},

Expand Down

0 comments on commit 63fdfee

Please sign in to comment.