diff --git a/.github/workflows/Build.CelesteStudio.yml b/.github/workflows/Build.CelesteStudio.yml index 979d4fd5..9d9eb872 100644 --- a/.github/workflows/Build.CelesteStudio.yml +++ b/.github/workflows/Build.CelesteStudio.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + submodules: 'recursive' - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: @@ -42,6 +44,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + submodules: 'recursive' - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: @@ -76,6 +80,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + submodules: 'recursive' - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index ebc12b53..9add1a18 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -30,7 +30,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Setup .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0' - name: Build run: dotnet build CelesteTAS-EverestInterop -c Debug diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index a496cd47..65f80661 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -17,7 +17,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Setup .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0' - name: Download Windows x64 uses: actions/download-artifact@v4 diff --git a/CelesteTAS-EverestInterop/Communication/GameData.cs b/CelesteTAS-EverestInterop/Communication/GameData.cs index 0d384c72..48f2d8d0 100644 --- a/CelesteTAS-EverestInterop/Communication/GameData.cs +++ b/CelesteTAS-EverestInterop/Communication/GameData.cs @@ -210,7 +210,7 @@ public static string GetModUrl() { JumpThrus = level.Entities .Where(e => e is JumpthruPlatform || e.GetType().Name is "SidewaysJumpThru" or "UpsideDownJumpThru") .Select(e => { - if (e is JumpthruPlatform jumpThru) { + if (e is JumpthruPlatform) { return (e.X, e.Y, e.Width, e.Height, GameState.Direction.Up, true); } if (e.GetType().Name == "SidewaysJumpThru") {