From 7c0ee64175e527f5ca5368f04d1b1588494c5505 Mon Sep 17 00:00:00 2001 From: Yannik <80621863+vaporvee@users.noreply.github.com> Date: Tue, 16 May 2023 16:08:00 +0200 Subject: [PATCH] added values for `clear()` --- src/discordgodot.cpp | 2 ++ src/discordgodot.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/discordgodot.cpp b/src/discordgodot.cpp index c12007a..d78cdd6 100644 --- a/src/discordgodot.cpp +++ b/src/discordgodot.cpp @@ -239,6 +239,8 @@ void discord_sdk::clear() join_secret = ""; spectate_secret = ""; instanced = false; + is_public_party = false; + is_overlay_locked = false; delete core; core = nullptr; diff --git a/src/discordgodot.h b/src/discordgodot.h index 862d0e2..02dedd9 100644 --- a/src/discordgodot.h +++ b/src/discordgodot.h @@ -22,7 +22,6 @@ private: String state; String details; - // just want to make pr String large_image; String large_image_text; String small_image; @@ -38,7 +37,7 @@ private: String join_secret; String spectate_secret; - bool is_public_party = true; + bool is_public_party; bool instanced;