Skip to content

Commit 1df75ed

Browse files
committed
ded
1 parent 9294b71 commit 1df75ed

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898

9999
- name: Send Discord webhook
100100
if: ${{ steps.check-discord.outputs.has-nightly-webhook == 'true' }}
101-
uses: prevter/discord-webhook@main
101+
uses: BlueWitherer/discord-webhook@main
102102
with:
103103
webhook-url: ${{ secrets.NIGHTLY_WEBHOOK }}
104104
files: |

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: BlueWitherer/geode-mod-webhook@main
4444
with:
4545
webhook-url: ${{ steps.check-discord.outputs.webhook-url }}
46+
content: "-# <@&1478754024240054292>" # release alert role
4647
changelog: ${{ steps.publish-release.outputs.changelog }}
4748

4849
publish:
@@ -54,6 +55,6 @@ jobs:
5455
- uses: actions/checkout@v4
5556

5657
- name: Publish to Geode
57-
uses: BlueWitherer/release-geode-mod/publish@main
58+
uses: hiimjasmine00/release-geode-mod/publish@main
5859
with:
5960
token: ${{ secrets.GITHUB_TOKEN }}

src/hooks/PlayLayer/Math.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ class $modify(MathPlayLayer, PlayLayer) {
4141
void doQuiz(float) {
4242
auto f = m_fields.self();
4343

44-
if (m_isPracticeMode && !m_hasCompletedLevel) {
44+
if (m_isPracticeMode && !m_hasCompletedLevel && !m_playerDied) {
4545
log::debug("Showing math quiz");
4646

47-
if (options::isEnabled(id) && !m_playerDied) {
47+
if (options::isEnabled(id)) {
4848
if (auto quiz = MathQuiz::create()) {
4949
// handle correct/wrong answer
5050
quiz->setCallback([this](bool correct) {

src/hooks/PlayLayer/Spam.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ class $modify(SpamPlayLayer, PlayLayer) {
3838
};
3939

4040
void doSpam(float) {
41-
if (!m_isPracticeMode && !m_hasCompletedLevel) {
41+
if (!m_isPracticeMode && !m_hasCompletedLevel && !m_playerDied) {
4242
log::debug("Showing spam challenge");
4343

44-
if (options::isEnabled(id) && !m_playerDied) {
44+
if (options::isEnabled(id)) {
4545
if (auto spam = SpamChallenge::create()) {
4646
auto f = m_fields.self();
4747

0 commit comments

Comments
 (0)