From 22f87eb182dd5c8ad0d95dbd23f6286abb6b3c1f Mon Sep 17 00:00:00 2001 From: Open Toontown <57279094+opentoontown@users.noreply.github.com> Date: Sun, 23 Apr 2023 02:21:37 -0400 Subject: [PATCH] fix missing msgtypes --- otp/login/AstronLoginManagerUD.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/otp/login/AstronLoginManagerUD.py b/otp/login/AstronLoginManagerUD.py index af41023..3f905c9 100644 --- a/otp/login/AstronLoginManagerUD.py +++ b/otp/login/AstronLoginManagerUD.py @@ -5,7 +5,17 @@ from datetime import datetime from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD -from direct.distributed.PyDatagram import * +from direct.distributed.PyDatagram import PyDatagram +from direct.distributed.MsgTypes import ( + CLIENTAGENT_ADD_POST_REMOVE, + CLIENTAGENT_CLEAR_POST_REMOVES, + CLIENTAGENT_CLOSE_CHANNEL, + CLIENTAGENT_EJECT, + CLIENTAGENT_OPEN_CHANNEL, + CLIENTAGENT_REMOVE_SESSION_OBJECT, + CLIENTAGENT_SET_CLIENT_ID, + STATESERVER_OBJECT_DELETE_RAM +) from otp.otpbase import OTPGlobals