VC:MP 0.4 (Beta) > Bugs and Crashes

[BUG] If the last key pressed in chat, is a binded key, it will apply.

(1/1)

sseebbyy:
Description
If you are chatting, and your last key pressed was a binded one, it will apply, even if you just ended the message and had no intention to get key's feature.

Reproducible
Always

What you were doing when the bug happened
I typed a message with "h" at the end, in "EthicaL DM" server, and I received the list with all commands implemented in the server.
(Then I used a capital - with shift - while driving the taxi, and I just jumped, without any intention to do it)

What you think caused the bug
Pressing way too fast the Enter button to send the message written.

heekz.shadow:

--- Quote from: sseebbyy on September 23, 2014, 11:23:39 pm ---What you think caused the bug
Pressing way too fast the Enter button to send the message written.

--- End quote ---

It has nothing to do with that, it's most likely the binding not checking if actual player is writing in chat or not. You can use the onStartTyping and onEndTyping events to prevent that though.

Navigation

[0] Message Index

Go to full version