Merge pull request #918 from Azaezel/alpha402/stopStringSpam

supress Mapping string spam unless net debugging
This commit is contained in:
Brian Roberts 2022-11-08 15:08:05 -06:00 committed by GitHub
commit 85a37b6c7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,9 @@ public:
} }
virtual void process(NetConnection *connection) virtual void process(NetConnection *connection)
{ {
#ifdef TORQUE_DEBUG_NET
Con::printf("Mapping string: %s to index: %d", mString.getString(), mIndex); Con::printf("Mapping string: %s to index: %d", mString.getString(), mIndex);
#endif
connection->mapString(mIndex, mString); connection->mapString(mIndex, mString);
} }
#ifdef TORQUE_DEBUG_NET #ifdef TORQUE_DEBUG_NET