make the card hack workaround configurable

This commit is contained in:
lybxlpsv
2019-07-10 00:33:19 +07:00
parent 9f22f7b4d1
commit 43d74bc10f
3 changed files with 183 additions and 142 deletions
@@ -21,8 +21,9 @@ namespace TLAC::Components
PlayerData* playerData;
CustomPlayerData* customPlayerData;
int lastPvId = -1;
bool initPvId = false;
bool pvModuleLoaded = false;
bool initPvId = true;
bool pvModuleLoaded = true;
bool moduleCardWorkaround = false;
int lastModState = 0;
void ApplyPatch();
void LoadConfig();