Skip to content

Commit

Permalink
v1.01 Emergency fix: Invalid language value.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamToki committed Nov 12, 2024
1 parent b6f6328 commit 797d316
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PROJECT/Yamanobo-Ryou/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="icon" type="image/x-icon" href="icons/favicon.ico" />
<title>山田凉上山</title>
<meta name="author" content="SAM TOKI STUDIO" />
<meta name="version" content="v1.00 (2024/11/12). Since 2024/10/13." />
<meta name="version" content="v1.01 (2024/11/12). Since 2024/10/13." />
<meta name="description" content="「孤独摇滚!」同人打字训练游戏。屑凉被讨债的波奇酱追上山,开始无尽的逃亡。" />
<meta name="keywords" content="Sam Toki, SAM TOKI STUDIO, 山田凉上山, Yamanobo-Ryou, 山登リョウ, 孤独摇滚, Bocchi the Rock, 打字训练, 打字游戏, Typing game" />
<meta name="copyright" content="(C) 2024 SAM TOKI STUDIO" />
Expand Down Expand Up @@ -2037,7 +2037,7 @@ <h4>图标</h4>
<legend>关于</legend>
<p>山田凉上山</p>
<p>by SAM TOKI STUDIO</p>
<p>版本 v1.00 (<time datetime="2024-11-12" pubdate="pubdate">2024/11/12</time>)<br />
<p>版本 v1.01 (<time datetime="2024-11-12" pubdate="pubdate">2024/11/12</time>)<br />
始于 2024/10/13</p>
<ul class="CtrlGroup BelowParagraph">
<li class="Ctrl">
Expand Down
4 changes: 2 additions & 2 deletions PROJECT/Yamanobo-Ryou/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Declare variables
"use strict";
// Unsaved
const CurrentVersion = 1.00;
const CurrentVersion = 1.01;
var Game0 = {
Terrain: {
WalkedWidth: 0,
Expand Down Expand Up @@ -757,7 +757,7 @@
ChangeValue("Textbox_Game", "");
ShowToast("胜利!");
Highscore[6][1] = "最新";
Highscore[6][2] = new Date(Date.now()).toLocaleDateString(System.I18n.Language);
Highscore[6][2] = new Date(Date.now()).toLocaleDateString(ReadLanguage("Html"));
Highscore[6][3] = Game.Stats.Score.toString().padStart(8, "0");
Highscore[6][4] = Game.Stats.AvgSpeed.toFixed(0) + "cpm";
Highscore[6][5] = Game.Stats.AvgKeystrokeSpeed.toFixed(0) + "kpm";
Expand Down
3 changes: 3 additions & 0 deletions PROJECT/scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
function ReadValue(ID) {
return document.getElementById(ID).value;
}
function ReadLanguage(ID) {
return document.getElementById(ID).lang;
}

// Position
function ReadTop(ID) {
Expand Down

0 comments on commit 797d316

Please sign in to comment.