From 505639a63e79d34b88af670f44a2a03e0f05ae2e Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Wed, 23 Jun 2021 19:23:56 +0000 Subject: [PATCH] Fixed missing description --- Makefile | 6 +----- src/moon/mod-engine/engine.cpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 716f9f7e..c71b3d95 100644 --- a/Makefile +++ b/Makefile @@ -178,11 +178,6 @@ else endif endif -# Moon64 custom flags - -# ifeq ($(TOGGLE_GAME_DEBUG),1) -# VERSION_CFLAGS += -DTOGGLE_GAME_DEBUG -# endif ############################ Universal Dependencies ############################ # (This is a bit hacky, but a lot of rules implicitly depend @@ -616,6 +611,7 @@ ifeq ($(DEBUG),2) CC_CHECK += -DGAME_DEBUG -DSM64_DEBUG CFLAGS += -DGAME_DEBUG -DSM64_DEBUG endif + ################################ # Check for enhancement options diff --git a/src/moon/mod-engine/engine.cpp b/src/moon/mod-engine/engine.cpp index d50c9164..6fac7d9d 100644 --- a/src/moon/mod-engine/engine.cpp +++ b/src/moon/mod-engine/engine.cpp @@ -45,7 +45,7 @@ namespace Moon { if(j.contains("bit") && j["bit"].contains("name")){ BitModule* bit = new BitModule({ .name = j["bit"]["name"], - .description = j["bit"].contains("icon") ? j["bit"]["description"] : "None", + .description = j["bit"].contains("description") ? j["bit"]["description"] : "None", .authors = j["bit"]["authors"], .version = j["bit"]["version"], .website = j["bit"].contains("website") ? j["bit"]["website"] : "None",