Overriding chat. functions is weird. Is this the best way to do it?
The PlayerBindPress hook may not needed if chat.Open is overriden.
chat.Open should provide what text entry mode shoud be used. Fixed in d8cb270f4088fd9fe9e69ce9f8bb02960b72a6a2
The code should be split up some more. Some possible boundaries:
Chat overrides/Hooks
GUI initialisation
GUI events/callbacks
Web interface interaction functions (changes to these will require an update to the HTML component)
There could be some better logic to detect when a timestamp should be added (always & at the start?)
The chat code could do with being tidied up
Overriding chat. functions is weird. Is this the best way to do it?
The
PlayerBindPress
hook may not needed if chat.Open is overriden.chat.Open should provide what text entry mode shoud be used.Fixed in d8cb270f4088fd9fe9e69ce9f8bb02960b72a6a2The code should be split up some more. Some possible boundaries:
There could be some better logic to detect when a timestamp should be added (always & at the start?)