Skip to content

Commit

Permalink
Merge branch 'devel' into score_cheat_community_moderator_power
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenAsJade committed Oct 1, 2023
2 parents 8bfc967 + 4578ab4 commit 79dd0e5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"express": "^4.17.1",
"express-http-proxy": "^1.6.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"goban": "=0.7.13",
"goban": "=0.7.15",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-eslint-new": "^1.7.1",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export function getGameResultText(
return "";
}
/* SGFs will encode the full result in the outcome */
if (/[+]/.test(outcome)) {
if (/[+]/.test(outcome) && !/Server Decision/.test(outcome)) {
return outcome;
}

Expand Down
3 changes: 3 additions & 0 deletions src/views/Game/AIDemoReview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export function AIDemoReview({
uuid: uuid(),
channel_id: `ai-position-analysis-stream-review-${goban.review_id}`,
rules: engine.rules,
black_prisoners: goban.engine?.getBlackPrisoners() || 0,
white_prisoners: goban.engine?.getWhitePrisoners() || 0,
komi: goban.engine?.komi || 0,
board: move.state.board,
player: move.state.player,
})
Expand Down
2 changes: 1 addition & 1 deletion src/views/ReportsCenter/MessageTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const WARNING_TEMPLATES: MessageTemplates = {
Please consider resigning games rather than letting them time
out, as this is fairer to your opponents than making them wait for
your clock to run out.`,
your clock to run out. Thank you.`,
show_warning_button: true,
},
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5352,10 +5352,10 @@ glogg@^1.0.0:
dependencies:
sparkles "^1.0.0"

goban@=0.7.13:
version "0.7.13"
resolved "https://registry.yarnpkg.com/goban/-/goban-0.7.13.tgz#a17ca1ab1931dc8b313c72ca894cdfbea463a8e3"
integrity sha512-sKoHlvBiexrjYSDXPvmIeW/ciGJkOkuKOt2E2dLwmTFqF9yfUTcDGFXHTATDDLEJt8XrgLXCa1vD00pJYEtFlA==
goban@=0.7.15:
version "0.7.15"
resolved "https://registry.yarnpkg.com/goban/-/goban-0.7.15.tgz#def8be0d41b7470a1246f5668519c7e0f6eb89e6"
integrity sha512-HwhOHzNK+DImwfeeOFHm4QoxTvf/CZ99ngPwqt9c6nHaRpiW/G6rVCHudokoNky40bxG/BsSaVmkBEcGRt/seA==
dependencies:
eventemitter3 "^5.0.0"

Expand Down

0 comments on commit 79dd0e5

Please sign in to comment.