Skip to content

Commit f982d9d

Browse files
committed
update multi platform
1 parent 4ab61f0 commit f982d9d

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/multi-platform.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ jobs:
3434
runs-on: ${{ matrix.config.os }}
3535

3636
steps:
37-
- uses: actions/checkout@v4
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
39+
40+
- name: Update LLVM Windows
41+
run: choco upgrade llvm
42+
if: matrix.config.os == 'windows-latest'
3843

3944
- name: Build the mod
4045
uses: geode-sdk/build-geode-mod@main
@@ -45,6 +50,7 @@ jobs:
4550
target: ${{ matrix.config.target }}
4651
sdk: nightly
4752
cli: nightly
53+
build-config: ${{ matrix.config.build-type || 'Release' }}
4854

4955
package:
5056
name: Package builds

src/changeDesign.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ void DeltaruneAlertLayer::changeTitle() {
143143
}
144144

145145
void DeltaruneAlertLayer::handleSound() {
146-
auto& nameToSound = m_fields->nameToSound;
146+
auto& nameToSound = m_fields->nameToSound;
147147
auto titleString = m_fields->title->getString();
148148
auto& sound = m_fields->textSound;
149149

150-
if (nameToSound.find(titleString) != nameToSound.end())
150+
if (nameToSound.find(titleString) != nameToSound.end())
151151
sound = nameToSound[titleString];
152152
else if (m_fields->dialog)
153153
sound = "Default";
@@ -173,7 +173,7 @@ void DeltaruneAlertLayer::changeText() {
173173

174174
int xOffset = star->getContentWidth();
175175

176-
DeltaruneAlertLayer::handleSound();
176+
DeltaruneAlertLayer::handleSound();
177177

178178
if (m_fields->dialog)
179179
xOffset = m_fields->imageNode->getContentWidth() + star->getContentWidth();
@@ -193,7 +193,7 @@ void DeltaruneAlertLayer::changeText() {
193193
}
194194

195195
std::string font = "Determination.fnt"_spr;
196-
196+
197197
if (sound == "Sans") font = "ComicSans.fnt"_spr;
198198
if (sound == "Papyrus") {
199199
font = "Papyrus.fnt"_spr;

0 commit comments

Comments
 (0)