private static void CheckGeoSpent(On.GeoCounter.orig_TakeGeo orig, GeoCounter self, int geo) { orig(self, geo); if (GameManager.instance.GetSceneNameString() == ItemChanger.SceneNames.Fungus3_35 && PlayerData.instance.GetBool(nameof(PlayerData.bankerAccountPurchased))) { return; } BingoUI.localSettings.spentGeo += geo; }
internal static void CheckGeoSpent(On.GeoCounter.orig_TakeGeo orig, GeoCounter self, int geo) { orig(self, geo); if (GameManager.instance.GetSceneNameString() == "Fungus3_35" && PlayerData.instance.bankerAccountPurchased) { return; } BingoUI._settings.spentGeo += geo; }