mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-20 05:43:19 +08:00
Fixed vec3.length() and handlemessage error checking
This commit is contained in:
parent
b7d9ec2015
commit
dc94de10bb
@ -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
|
||||
|
||||
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user