1
0
mirror of synced 2024-11-30 17:24:33 +01:00

Fix default values for OK and Bad

Modify launch url
This commit is contained in:
asesidaa 2022-09-12 17:28:19 +08:00
parent 6a037457d0
commit 9ab12ba0cb
2 changed files with 4 additions and 2 deletions

View File

@ -110,7 +110,9 @@ public class PlayResultController : BaseController<PlayResultController>
{ {
Baid = danScoreData.Baid, Baid = danScoreData.Baid,
DanId = danScoreData.DanId, DanId = danScoreData.DanId,
SongNumber = (uint)songNumber SongNumber = (uint)songNumber,
OkCount = stageData.OkCnt,
BadCount = stageData.NgCnt
}); });
danStageData.HighScore = Math.Max(danStageData.HighScore, stageData.PlayScore); danStageData.HighScore = Math.Max(danStageData.HighScore, stageData.PlayScore);

View File

@ -13,7 +13,7 @@
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "",
"applicationUrl": "http://localhost:5000", "applicationUrl": "http://localhost:5000",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"