[outdated] d() before chat is initialized
Please consider the following change to the chat system, in order to allow debug messages to be shown from before EVENT_PLAYER_ACTIVATED.
Lua Code:
Lua Code:
Lua Code:
|
The call to FlushCachedMessages should be in TryLoadSettings (after LoadChatFromSettings) so that it isn't called again. There's no need to call it again as long as primaryContainer exists, plus it will blow because you set the table to nil, and second call will try to iterate it. I'd set it to empty table to be safe.
|
Right. Maybe also add a callback/hookpoint when the primary container is ready and the messages have not yet been flushed in order to make it easier for pChat's history restore feature to print the old messages.
|
All times are GMT -6. The time now is 12:32 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI