Remove debug elements and visual SoA (#3086)

This commit is contained in:
aMannus
2023-08-20 19:59:39 +02:00
committed by GitHub
parent f19f303651
commit b040a894d1
3 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
#include "global.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h"
typedef struct {
u8 x;
@@ -219,8 +220,9 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
GfxPrint printer;
Gfx* tempRet;
if (!CVarGetInteger("gDebugEnabled", 0))
if (!CVarGetInteger("gDebugEnabled", 0) || GameInteractor_NoUIActive()) {
return;
}
OPEN_DISPS(gfxCtx);