Skip to content

Commit

Permalink
fix simulator only view
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Mar 19, 2024
1 parent ba3f5f5 commit 65110b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sim/dalboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ namespace pxsim {
initAsync(msg: SimulatorRunMessage): Promise<void> {
super.initAsync(msg);
// console.log('SIM MESSAGE',msg)
if(msg.dependencies.v3 != undefined) {
if( msg.dependencies == undefined // exten list is undefined, only simulator without editor like https://makecode.calliope.cc/---run?id=_8i5WTJ5ciMdE
|| msg.dependencies.v3 != undefined // v3 extension is available
) {
console.log('V3 SIMULATOR')
this.hardwareVersion = 3
} else {
Expand Down

0 comments on commit 65110b4

Please sign in to comment.