diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5a040682..49c55427 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -62,8 +62,7 @@ jobs: name: NewHorizons-Schemas-${{ inputs.build_type }} path: .\NewHorizons\Schemas - - name: Verify Changed Schemas - uses: tj-actions/verify-changed-files@v20 + - name: Check Changed Schemas id: changed_files - with: - files: NewHorizons/Schemas/** + run: | + echo "files_changed=$(git diff --exit-code NewHorizons/Schemas 2>&1>$null && echo false || echo true)" >> $Env:GITHUB_OUTPUT \ No newline at end of file diff --git a/NewHorizons/Builder/General/SpawnPointBuilder.cs b/NewHorizons/Builder/General/SpawnPointBuilder.cs index a38802b6..a5e8700d 100644 --- a/NewHorizons/Builder/General/SpawnPointBuilder.cs +++ b/NewHorizons/Builder/General/SpawnPointBuilder.cs @@ -69,6 +69,8 @@ namespace NewHorizons.Builder.General PlayerSpawn = playerSpawn; PlayerSpawnInfo = point; } + + spawnGO.SetActive(true); } } @@ -77,7 +79,6 @@ namespace NewHorizons.Builder.General foreach (var point in module.shipSpawnPoints) { var spawnGO = GeneralPropBuilder.MakeNew("ShipSpawnPoint", planetGO, null, point); - spawnGO.SetActive(false); spawnGO.layer = Layer.PlayerSafetyCollider; var shipSpawn = spawnGO.AddComponent();