Merge tag 'release/v2.1.1' into develop

Fix bug where USC couldn't set VF6 targets
This commit is contained in:
zkldi
2022-02-09 17:07:19 +00:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tachi-server",
"version": "2.1.0",
"version": "2.1.1",
"description": "A score tracking server.",
"main": "js/index.js",
"private": true,
+1 -1
View File
@@ -4,7 +4,7 @@
const MAJOR = 2;
const MINOR = 1;
const PATCH = 0;
const PATCH = 1;
// As is with all front-facing zkldi projects, the version names for tachi-server
// are from an album I like. In this case, the album is Portishead - Dummy.
@@ -56,7 +56,7 @@ router.patch(
display2DXTra: p.optional("boolean"),
bpiTarget: p.optional(p.isBoundedInteger(0, 100)),
};
} else if (game === "sdvx") {
} else if (game === "sdvx" || game === "usc") {
schema = {
vf6Target: p.optional(p.isBetween(0, 0.5)),
};