From 59da9211f69c84c65350805f7a7363e52dea4ea4 Mon Sep 17 00:00:00 2001 From: NotAlwaysTrue <77662224+NotAlwaysTrue@users.noreply.github.com> Date: Thu, 1 Jan 2026 14:14:40 +0800 Subject: [PATCH] OBT/1.0.2 (#35) * Fixed? the cause of gap crashes. May require further monitor and check :( * Fixed a bug that will cause the server stop responding * Fixed (?) an issue causing a SetPosition() will crash the game Removed CL release, Added manual dispatcher inputs --- .github/workflows/publish-release.yml | 25 ++++++++++++++++--- .../Characters/Animation/Ragdoll.cs | 3 ++- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5d63b200d..68f33d067 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -4,6 +4,20 @@ name: Publish release on: workflow_dispatch: + inputs: + target: + description: "The git ref to checkout, build from and release" + required: true + type: string + tag: + description: "The tag of the release" + required: true + type: string + prerelease: + description: "Prerelease" + required: false + default: false + type: boolean workflow_call: inputs: target: @@ -23,13 +37,15 @@ on: env: CI_DIR: 2049ef39-42a2-46d2-b513-ee6d2e3a7b15 RELEASES: | - windows:client:Windows/Client windows:server:Windows/Server - linux:client:Linux/Client linux:server:Linux/Server - mac:client:Mac/Client/Barotrauma.app/Contents/MacOS mac:server:Mac/Server - ARCHIVE_BASE_NAME: luacsforbarotrauma + ARCHIVE_BASE_NAME: luacsforbarotraumaEP + # Clients are removed cuz we dont actually have one :( + # windows:client:Windows/Client + # linux:client:Linux/Client + # mac:client:Mac/Client/Barotrauma.app/Contents/MacOS + # XXX: these file names are subject to shell expansion. # Be careful when using special characters. ARCHIVE_FILES_SERVER: | @@ -73,6 +89,7 @@ env: System.Runtime.CompilerServices.Unsafe.dll mscordaccore_amd64_amd64_* Lua + Farseer.NetStandard.dll jobs: build: diff --git a/Barotrauma/BarotraumaShared/SharedSource/Characters/Animation/Ragdoll.cs b/Barotrauma/BarotraumaShared/SharedSource/Characters/Animation/Ragdoll.cs index 5b7d36724..4c2d83683 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/Characters/Animation/Ragdoll.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/Characters/Animation/Ragdoll.cs @@ -2198,8 +2198,9 @@ namespace Barotrauma if (limb == null) { // Didn't seek or find a (valid) limb of the matching type. If there's multiple limbs of the same type, check the other limbs. - foreach (var l in limbs) + foreach (var l in Limbs) { + if (l == null) { continue; } if (l.Removed) { continue; } if (useSecondaryType) {