From c21702ebef01b3aeac6b5098ac82c99ed41c59d0 Mon Sep 17 00:00:00 2001 From: shangfengh <3495281661@qq.com> Date: Thu, 20 Apr 2023 01:49:59 +0800 Subject: [PATCH] fix: :ambulance: fix a bug about the Sunshine --- .github/workflows/upload_deploy.yml | 1 - logic/Preparation/Interface/IOccupation.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload_deploy.yml b/.github/workflows/upload_deploy.yml index b1a93e9..3f5d284 100644 --- a/.github/workflows/upload_deploy.yml +++ b/.github/workflows/upload_deploy.yml @@ -70,7 +70,6 @@ jobs: - name: Create PDF uses: mkrakowitzer/actions-makepdfs@v1.3 - if: github.ref == 'refs/heads/master' with: markdown_dir: ./Md output_dir: ./THUAI6/ diff --git a/logic/Preparation/Interface/IOccupation.cs b/logic/Preparation/Interface/IOccupation.cs index 390ad46..334ab06 100644 --- a/logic/Preparation/Interface/IOccupation.cs +++ b/logic/Preparation/Interface/IOccupation.cs @@ -416,6 +416,8 @@ namespace Preparation.Interface return new TechOtaku(); case CharacterType.Idol: return new Idol(); + case CharacterType.Sunshine: + return new Sunshine(); case CharacterType.Athlete: default: return new Athlete();