allow run without discord stuff

This commit is contained in:
George FunBook
2021-03-22 09:09:46 -05:00
parent dd49ae7990
commit 8a515b63f5
5 changed files with 20 additions and 21 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
package;
#if desktop
#if discord_rpc
import Discord.DiscordClient;
#end
import flixel.FlxG;
@@ -36,7 +36,7 @@ class MainMenuState extends MusicBeatState
override function create()
{
#if desktop
#if discord_rpc
// Updating Discord Rich Presence
DiscordClient.changePresence("In the Menus", null);
#end