Skip to content

Commit

Permalink
Merge pull request #438 from s4Ys369/revert-434-patch-1
Browse files Browse the repository at this point in the history
Revert "Bugfix: Discord Integration crashes"
  • Loading branch information
fgsfdsfgs authored Oct 9, 2020
2 parents 9d0c4dd + e6d2e7a commit 57c2034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pc/discord/discordrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static void set_state(void) {
// when exiting a stage the act doesn't get reset
if (gCurrActNum && gCurrCourseNum) {
// any stage over 19 is a special stage without acts
if (gCurrCourseNum <= COURSE_STAGES_MAX) {
if (gCurrCourseNum < 19) {
void **actNameTbl;
#ifndef VERSION_EU
actNameTbl = segmented_to_virtual(seg2_act_name_table);
Expand Down

0 comments on commit 57c2034

Please sign in to comment.