diff --git a/assets/src/ba_data/python/_ba.py b/assets/src/ba_data/python/_ba.py index 3dd65105..3f3038d5 100644 --- a/assets/src/ba_data/python/_ba.py +++ b/assets/src/ba_data/python/_ba.py @@ -34,7 +34,7 @@ NOTE: This file was autogenerated by gendummymodule; do not edit by hand. """ # (hash we can use to see if this file is out of date) -# SOURCES_HASH=3220898821583429869185544511076035538 +# SOURCES_HASH=279775284016994471710131432123768789736 # I'm sorry Pylint. I know this file saddens you. Be strong. # pylint: disable=useless-suppression diff --git a/assets/src/ba_data/python/ba/_account.py b/assets/src/ba_data/python/ba/_account.py index 58e6fb5b..73fa8892 100644 --- a/assets/src/ba_data/python/ba/_account.py +++ b/assets/src/ba_data/python/ba/_account.py @@ -161,8 +161,7 @@ def have_pro() -> bool: # Check our tickets-based pro upgrade and our two real-IAP based upgrades. return bool( _ba.get_purchased('upgrades.pro') or _ba.get_purchased('static.pro') - or _ba.get_purchased('static.pro_sale') - or 'ballistica' + 'core' == 'ballisticacore') + or _ba.get_purchased('static.pro_sale')) def have_pro_options() -> bool: @@ -176,10 +175,9 @@ def have_pro_options() -> bool: # (which is generally just when we own pro), # or also if we've been grandfathered in or are using ballistica-core # builds. - return bool( + return have_pro() or bool( _ba.get_account_misc_read_val_2('proOptionsUnlocked', False) - or _ba.app.config.get('lc14292', 0) > 1 - or 'ballistica' + 'core' == 'ballisticacore') + or _ba.app.config.get('lc14292', 0) > 1) def show_post_purchase_message() -> None: diff --git a/assets/src/ba_data/python/bastd/mainmenu.py b/assets/src/ba_data/python/bastd/mainmenu.py index 22679277..47cc8033 100644 --- a/assets/src/ba_data/python/bastd/mainmenu.py +++ b/assets/src/ba_data/python/bastd/mainmenu.py @@ -149,7 +149,7 @@ class MainMenuActivity(ba.Activity): assert self.version.node ba.animate(self.version.node, 'opacity', {2.3: 0, 3.0: 1.0}) - # Throw in beta info. + # Throw in test build info. self.beta_info = self.beta_info_2 = None if app.test_build and not app.kiosk_mode: pos = (230, 125) if app.kiosk_mode else (230, 35)