diff --git a/otp/avatar/Avatar.py b/otp/avatar/Avatar.py index 5fcc6215..75e7a584 100755 --- a/otp/avatar/Avatar.py +++ b/otp/avatar/Avatar.py @@ -565,5 +565,4 @@ def target(): """ Returns the current Spellbook target. """ - return 'Your current target is: %s [avId: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId) - #return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess()) \ No newline at end of file + return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess()) \ No newline at end of file diff --git a/otp/chat/ChatAgent.py b/otp/chat/ChatAgent.py index cd0a539b..37d69a2a 100755 --- a/otp/chat/ChatAgent.py +++ b/otp/chat/ChatAgent.py @@ -1,5 +1,6 @@ from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal from otp.ai.MagicWordGlobal import * +from otp.avatar import Avatar class ChatAgent(DistributedObjectGlobal):