diff --git a/AssemblyFromGame/Assembly-CSharp.dll b/AssemblyFromGame/Assembly-CSharp.dll index 551e263..43ff806 100644 Binary files a/AssemblyFromGame/Assembly-CSharp.dll and b/AssemblyFromGame/Assembly-CSharp.dll differ diff --git a/AssemblyFromGame/UnityEngine.UI.dll b/AssemblyFromGame/UnityEngine.UI.dll index bc55588..474df51 100644 Binary files a/AssemblyFromGame/UnityEngine.UI.dll and b/AssemblyFromGame/UnityEngine.UI.dll differ diff --git a/UXAssist/CHANGELOG.md b/UXAssist/CHANGELOG.md index 3822f66..a781395 100644 --- a/UXAssist/CHANGELOG.md +++ b/UXAssist/CHANGELOG.md @@ -3,6 +3,8 @@ ## Changlog +* 1.4.1 + * Fixed a compatible issue with latest game patch. * 1.4.0 * Support game version 0.10.33, with some features removed: * Remove `Scale up mouse cursor`: Unity 2022 set cursor size from system settings, software rendering does not affect its size now. @@ -336,6 +338,8 @@ ## 更新日志 +* 1.4.1 + * 修复了与最新游戏补丁的兼容性问题 * 1.4.0 * 支持游戏版本 0.10.33,移除了一些功能: * 移除`放大鼠标指针`:Unity 2022 读取系统设置里的鼠标指针大小,软件渲染不再影响其大小 diff --git a/UXAssist/Patches/FactoryPatch.cs b/UXAssist/Patches/FactoryPatch.cs index 51641ff..d2211ba 100644 --- a/UXAssist/Patches/FactoryPatch.cs +++ b/UXAssist/Patches/FactoryPatch.cs @@ -1150,7 +1150,7 @@ public class FactoryPatch : PatchImpl var pos = veinPool[veinId].pos; factory.RemoveVeinWithComponents(veinId); factory.RecalculateVeinGroup(groupIndex); - factory.NotifyVeinExhausted(venType, pos); + factory.NotifyVeinExhausted(venType, groupIndex, pos); veinCount = __instance.veinCount; } else @@ -1251,7 +1251,7 @@ public class FactoryPatch : PatchImpl factory.veinAnimPool[veinId].time = amount >= 25000 ? 0f : 1f - amount * VeinData.oilSpeedMultiplier; if (amount <= 2500) { - factory.NotifyVeinExhausted((int)veinPool[veinId].type, veinPool[veinId].pos); + factory.NotifyVeinExhausted((int)veinPool[veinId].type, groupIndex, veinPool[veinId].pos); } } } diff --git a/UXAssist/UXAssist.csproj b/UXAssist/UXAssist.csproj index 3f571ef..db5e4f6 100644 --- a/UXAssist/UXAssist.csproj +++ b/UXAssist/UXAssist.csproj @@ -4,7 +4,7 @@ net472 org.soardev.uxassist DSP MOD - UXAssist - 1.4.0 + 1.4.1 true latest UXAssist diff --git a/UXAssist/package/manifest.json b/UXAssist/package/manifest.json index 3710f72..3b2421f 100644 --- a/UXAssist/package/manifest.json +++ b/UXAssist/package/manifest.json @@ -1,6 +1,6 @@ { "name": "UXAssist", - "version_number": "1.4.0", + "version_number": "1.4.1", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist", "description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁", "dependencies": [