diff --git a/assets/src/ba_data/python/_ba.py b/assets/src/ba_data/python/_ba.py index 71267d9e..af0616e8 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=262346642235815908245289158414705543661 +# SOURCES_HASH=19018950468850503638731149460882909299 # 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/_actor.py b/assets/src/ba_data/python/ba/_actor.py index b0727214..d45ea744 100644 --- a/assets/src/ba_data/python/ba/_actor.py +++ b/assets/src/ba_data/python/ba/_actor.py @@ -194,7 +194,9 @@ class Actor: messages after the activity has ended, which should be explicitly avoided. """ - assert __debug__, "This should only be called in __debug__ mode." + if not __debug__: + _error.print_error('This should only be called in __debug__ mode.', + once=True) if not getattr(self, '_root_actor_init_called', False): _error.print_error('Root Actor __init__() not called.') if self.is_expired():