This commit is contained in:
aozhiwei 2023-04-05 15:41:58 +08:00
parent 8268c1519b
commit aa04028432

View File

@ -1427,6 +1427,14 @@ void Human::SendUpdateMsg()
#ifdef DEBUG
end_tick1 = a8::XGetTickCount();
if (end_tick1 - begin_tick1 > 100) {
#if 1
a8::XPrintf
("SendUpdateMsg sent_bytes:%d observers.size:%d",
{
sent_bytes,
observers_.size()
});
#else
f8::UdpLog::Instance()->Warning
("SendUpdateMsg sent_bytes:%d observers.size:%d",
{
@ -1434,6 +1442,7 @@ void Human::SendUpdateMsg()
observers_.size()
});
A8_ABORT();
#endif
}
#endif
framedata_.ClearFrameData(this);