Skip to content

Commit 3ccb6be

Browse files
committed
Fix menu for sensing_current
Signed-off-by: FurryR <[email protected]>
1 parent 7589acf commit 3ccb6be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/blocks/scratch3_sensing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class Scratch3SensingBlocks {
253253
case 'hour': return date.getHours();
254254
case 'minute': return date.getMinutes();
255255
case 'second': return date.getSeconds();
256-
case 'refreshTime': return this.runtime.screenRefreshTime / 1000;
256+
case 'refreshtime': return this.runtime.screenRefreshTime / 1000;
257257
}
258258
return 0;
259259
}

src/compiler/irgen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ class ScriptTreeGenerator {
728728
return {
729729
kind: 'sensing.second'
730730
};
731-
case 'refreshTime':
731+
case 'refreshtime':
732732
return {
733733
kind: 'sensing.refreshTime'
734734
};

0 commit comments

Comments
 (0)