From fd53b466d25e444f6b644eaacd1d3bd4464fe412 Mon Sep 17 00:00:00 2001 From: Awbugl Date: Sun, 1 Dec 2024 15:50:59 +0800 Subject: [PATCH] Update 3.0.13 --- CHANGELOG.md | 12 +++++++++--- src/Patches/UI/ResearchLabPatches.cs | 2 +- src/ProjectGenesis.cs | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c77e54a..9301bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,19 @@ -- v3.0.12 - + 粗略适配版本V0.10.31.24646 +- v3.0.13 + + 修复了研究站工作不正常的问题 - + Adaptation of version v0.10.31.24646 + + Fixed issue that research lab work improperly
点击展开日志 | Click to view all +- v3.0.12 + + 粗略适配版本V0.10.31.24646 + + + Adaptation of version v0.10.31.24646 + + - v3.0.11 + 修复了v3.0.9的上传速度调整导致的研究站工作不正常的问题 diff --git a/src/Patches/UI/ResearchLabPatches.cs b/src/Patches/UI/ResearchLabPatches.cs index a4c3d70..f019135 100644 --- a/src/Patches/UI/ResearchLabPatches.cs +++ b/src/Patches/UI/ResearchLabPatches.cs @@ -438,7 +438,7 @@ public static void LabComponent_UpdateOutputToNext_Patch_Method(LabComponent[] l if (labComponent.matrixServed[i] >= 3600 && next.matrixServed[i] < 36000) { - int p = (labComponent.matrixServed[0] - 7200) / 3600 * 3600; + int p = (labComponent.matrixServed[i] - 7200) / 3600 * 3600; if (p > 36000) p = 36000; int num = labComponent.split_inc(ref labComponent.matrixServed[i], ref labComponent.matrixIncServed[i], 3600); next.matrixIncServed[i] += num; diff --git a/src/ProjectGenesis.cs b/src/ProjectGenesis.cs index a654fe3..ed6973a 100644 --- a/src/ProjectGenesis.cs +++ b/src/ProjectGenesis.cs @@ -54,7 +54,7 @@ public class ProjectGenesis : BaseUnityPlugin, IModCanSave, IMultiplayerMod { public const string MODGUID = "org.LoShin.GenesisBook"; public const string MODNAME = "GenesisBook"; - public const string VERSION = "3.0.12"; + public const string VERSION = "3.0.13"; public const string DEBUGVERSION = ""; public static bool LoadCompleted;