Skip to content

Commit

Permalink
v4.02 Small fix.
Browse files Browse the repository at this point in the history
Fixed a small problem where the question board shows "Paused" when finishing a game.
  • Loading branch information
SamToki committed Feb 4, 2025
1 parent 7a42c50 commit a9f9825
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PROJECT/KanaMaster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="icon" type="image/png" href="images/Icon.png" />
<title>假名征服者</title>
<meta name="author" content="SAM TOKI STUDIO" />
<meta name="version" content="v4.01 (2025/01/09). Since 2023/11/05." />
<meta name="version" content="v4.02 (2025/02/04). Since 2023/11/05." />
<meta name="description" content="日文假名记忆训练游戏,结合了音游的元素。本游戏针对日语初学者,也欢迎 N1 大佬来挑战高难度。" />
<meta name="copyright" content="© 2023 SAM TOKI STUDIO" />

Expand Down Expand Up @@ -860,7 +860,7 @@ <h4>音频</h4>
<legend>关于</legend>
<p>假名征服者</p>
<p>by SAM TOKI STUDIO</p>
<p>版本 v4.01 (<time datetime="2025-01-09" pubdate="pubdate">2025/01/09</time>)<br />
<p>版本 v4.02 (<time datetime="2025-02-04" pubdate="pubdate">2025/02/04</time>)<br />
始于 2023/11/05</p>
<p class="GreenText Hidden" id="Label_HelpPWANewVersionReady" inert="true">新版本已就绪,将在下次启动时生效。</p>
<ul class="CtrlGroup BelowParagraph">
Expand Down
2 changes: 1 addition & 1 deletion PROJECT/KanaMaster/script_ServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Declare variables
"use strict";
// Unsaved
const CacheName = "KanaMaster_v4.01";
const CacheName = "KanaMaster_v4.02";

// Listeners
// Service worker (https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/#step-5---add-a-service-worker)
Expand Down
4 changes: 2 additions & 2 deletions PROJECT/KanaMaster/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 = 4.01,
const CurrentVersion = 4.02,
KanaGrid = [
["", "<span lang=\"zh-CN\">准备</span>", "<span lang=\"zh-CN\">暂停</span>"],
[0, "あ", "か", "さ", "た", "な", "は", "ま", "や", "ら", "わ", "が", "ざ", "だ", "ば", "ぱ", "", "", "", "", "", "", "", "", "", "", "", ""],
Expand Down Expand Up @@ -595,7 +595,7 @@

// Question board & answer board
// Text
if(Game.Status.IsRunning == true && Game.Status.IsPaused == true) {
if(Game.Status.IsRunning == true && Game.Status.IsPaused == true && Game0.Stats.Progress < 100) {
Game0.Lottery.Question = {
Row: 0, Column: 2
};
Expand Down

0 comments on commit a9f9825

Please sign in to comment.