Fix fast money accumulator setting (#5256)
This commit is contained in:
@@ -14,7 +14,7 @@ extern "C" {
|
|||||||
|
|
||||||
void FasterRupeeAccumulator_Register() {
|
void FasterRupeeAccumulator_Register() {
|
||||||
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnInterfaceUpdate>([]() {
|
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnInterfaceUpdate>([]() {
|
||||||
if (!CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.FasterRupeeAccumulator"), 0)) return;
|
if (!CVarGetInteger(CVAR_ENHANCEMENT("FasterRupeeAccumulator"), 0)) return;
|
||||||
|
|
||||||
if (gSaveContext.rupeeAccumulator == 0) {
|
if (gSaveContext.rupeeAccumulator == 0) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user