From 075f6857fdb612be15a649587bd3edc3d0fdecea Mon Sep 17 00:00:00 2001 From: Little Cat Date: Tue, 10 Jan 2023 22:46:52 -0400 Subject: [PATCH] avatar: Fix crash when using outside toonbase. --- otp/avatar/Avatar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp/avatar/Avatar.py b/otp/avatar/Avatar.py index 4ea6bfd..f80e89b 100644 --- a/otp/avatar/Avatar.py +++ b/otp/avatar/Avatar.py @@ -21,7 +21,7 @@ def reconsiderAllUnderstandable(): class Avatar(Actor, ShadowCaster): - notify = directNotify.newCategory('Avatar') + notify = DirectNotifyGlobal.directNotify.newCategory('Avatar') ActiveAvatars = [] ManagesNametagAmbientLightChanged = False