Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
cs0x7f committed May 23, 2024
1 parent 3aaecd4 commit 782545c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ scramble/redi.js \
scramble/utilscramble.js \
tools/tools.js \
tools/image.js \
tools/cross.js \
tools/gsolver.js \
worker.js)

cstimer = $(dest)/js/cstimer.js
Expand Down
2 changes: 1 addition & 1 deletion npm_export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cstimer_module",
"version": "0.1.1",
"version": "0.1.2",
"description": "scramble and tools used in csTimer",
"main": "cstimer_module.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/js/scramble/2x2x2.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ var scramble_222 = (function(rn) {
ori = [0, 0, 0, 0, 2, 0, 0];
perm = perm.concat(egperms[0]);
} else if (type == '222tc') {
var tcllIdx = scrMgr.fixCase(cases, tcllnprobs)
var tcllIdx = scrMgr.fixCase(cases, tcllprobs)
llcase = tcll_map[tcllIdx].slice();
ori = [0, 0, 0, 0, tcllIdx < 7 ? 1 : 2, 0, 0];
perm = perm.concat(egperms[0]);
Expand Down

0 comments on commit 782545c

Please sign in to comment.