From d2d546ea75112ddb23d9511d44d600bd17f3c0a0 Mon Sep 17 00:00:00 2001 From: Llennpie <44985633+Llennpie@users.noreply.github.com> Date: Wed, 29 Dec 2021 20:38:54 -0500 Subject: [PATCH] Quick fix for RPC on Chroma Key, small Makefile edits --- Makefile | 8 ++++---- src/pc/discord/discordrpc.cpp | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 16dacd33..047d4708 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,10 @@ OSX_BUILD ?= 0 # Specify the target you are building for, TARGET_BITS=0 means native TARGET_ARCH ?= native TARGET_BITS ?= 0 -# Disable better camera by default -BETTERCAMERA ?= 0 -# Disable no drawing distance by default -NODRAWINGDISTANCE ?= 0 +# Disable better camera +BETTERCAMERA = 0 +# Enable no drawing distance by default +NODRAWINGDISTANCE ?= 1 # Disable texture fixes by default (helps with them purists) TEXTURE_FIX ?= 0 # Enable Discord Rich Presence diff --git a/src/pc/discord/discordrpc.cpp b/src/pc/discord/discordrpc.cpp index 55753cce..69f593e6 100644 --- a/src/pc/discord/discordrpc.cpp +++ b/src/pc/discord/discordrpc.cpp @@ -177,6 +177,7 @@ static void set_time(void){ static void set_details(void) { if (gCurrLevelNum == LEVEL_SA) { + lastCourseNum = gCurrCourseNum; strcpy(stage, "Chroma Keying"); return; }