fix:调整中控脚本

This commit is contained in:
bzx
2026-01-14 20:03:27 +08:00
parent 062bd78bbb
commit d567251579
2 changed files with 5 additions and 2 deletions

View File

@@ -418,7 +418,10 @@ public class GameManager : MonoBehaviour
private void Update()
{
curGameTime += Time.deltaTime;
if (gameState != GameState.None)
{
curGameTime += Time.deltaTime;
}
if (Input.GetKeyDown(KeyCode.Q))
{
//TaskManager.Ins.StopTask(true);

View File

@@ -261,7 +261,7 @@ public class HttpServer : MonoBehaviour
private int GetGameTotalTime()
{
return Mathf.FloorToInt(GameManager.Ins.vistEnd); // 举例1 小时(秒)
return Mathf.FloorToInt(GameManager.Ins.vistEnd+5*60); // 举例1 小时(秒)
}
private int GetCurrentPlayTime()