diff --git a/direct/src/distributed/MsgTypes.py b/direct/src/distributed/MsgTypes.py index 3555a0c895..0d262434f9 100644 --- a/direct/src/distributed/MsgTypes.py +++ b/direct/src/distributed/MsgTypes.py @@ -93,6 +93,7 @@ MsgId2Names = invertDictLossless(MsgName2Id) # put msg names in module scope, assigned to msg value for name, value in MsgName2Id.items(): exec '%s = %s' % (name, value) +del name, value # These messages are ignored when the client is headed to the quiet zone QUIET_ZONE_IGNORED_LIST = [