mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' into make-slide-reel-better
This commit is contained in:
commit
b71af63f2d
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -29,10 +29,10 @@ jobs:
|
||||
schemas_changed: ${{ steps.changed_files.outputs.files_changed }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
|
||||
# Disable Strong Name Verification to let us pull a switch-a-roo
|
||||
- name: Disable strong name validation
|
||||
@ -51,19 +51,19 @@ jobs:
|
||||
run: rm .\NewHorizons\bin\${{ inputs.build_type }}\NewHorizons.xml
|
||||
|
||||
- name: Upload Mod Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: xen.NewHorizons.${{ inputs.build_type }}
|
||||
path: .\NewHorizons\bin\${{ inputs.build_type }}
|
||||
|
||||
- name: Upload Schemas Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: NewHorizons-Schemas-${{ inputs.build_type }}
|
||||
path: .\NewHorizons\Schemas
|
||||
|
||||
- name: Verify Changed Schemas
|
||||
uses: tj-actions/verify-changed-files@v17
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
id: changed_files
|
||||
with:
|
||||
files: NewHorizons/Schemas/**
|
||||
|
||||
6
.github/workflows/docs_build.yml
vendored
6
.github/workflows/docs_build.yml
vendored
@ -29,10 +29,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Download Schemas
|
||||
if: ${{ inputs.schemas_artifact != 'null' }}
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.schemas_artifact }}
|
||||
path: NewHorizons/Schemas
|
||||
@ -55,4 +55,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
4
.github/workflows/release_build.yml
vendored
4
.github/workflows/release_build.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: "actions/checkout@v3"
|
||||
uses: "actions/checkout@v4"
|
||||
- name: Read Manifest
|
||||
id: read-manifest
|
||||
uses: notiz-dev/github-action-json-property@release
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download Asset
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: xen.NewHorizons.Release
|
||||
path: xen.NewHorizons
|
||||
|
||||
4
.github/workflows/update_schemas.yml
vendored
4
.github/workflows/update_schemas.yml
vendored
@ -18,12 +18,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.SCHEMAS_TOKEN }}
|
||||
|
||||
- name: Download Artifact
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.artifact_name }}
|
||||
path: NewHorizons/Schemas/
|
||||
|
||||
@ -188,7 +188,11 @@ namespace NewHorizons.Components.Props
|
||||
{
|
||||
for (int i = 0; i < _ambientLight.Length; i++)
|
||||
{
|
||||
_ambientLight[i].intensity = _ambientLightOrigIntensity[i] * (1f - collapseProgress);
|
||||
var ambientLight = _ambientLight[i];
|
||||
if (ambientLight != null)
|
||||
{
|
||||
ambientLight.intensity = _ambientLightOrigIntensity[i] * (1f - collapseProgress);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user