cherry-picked puzzles are now unrated
it was abused for boosting, which is only an issue because it prevents the hardest puzzles from reaching real high ratingspull/8099/head
parent
060c75e64b
commit
ee87d1a264
|
@ -235,7 +235,7 @@ final class Puzzle(
|
|||
}
|
||||
case None if themeOrId.size == Puz.idSize =>
|
||||
OptionFuResult(env.puzzle.api.puzzle find Puz.Id(themeOrId)) { puz =>
|
||||
ctx.me.ifTrue(getBool("casual")) foreach { env.puzzle.api.casual.set(_, puz.id) }
|
||||
ctx.me foreach { env.puzzle.api.casual.set(_, puz.id) }
|
||||
renderShow(puz, PuzzleTheme.mix)
|
||||
}
|
||||
case None =>
|
||||
|
|
|
@ -86,7 +86,7 @@ const renderHistory = (ctrl: StormCtrl): VNode =>
|
|||
h('div.storm--end__history__round', [
|
||||
h('a.storm--end__history__round__puzzle.mini-board.cg-wrap.is2d', {
|
||||
attrs: {
|
||||
href: `/training/${round.puzzle.id}?casual=1`,
|
||||
href: `/training/${round.puzzle.id}`,
|
||||
target: '_blank'
|
||||
},
|
||||
hook: onInsert(e => {
|
||||
|
|
Loading…
Reference in New Issue