mehah / otclient

An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
242 stars 177 forks source link

fix: enable chat mode on/off #792

Closed matheussf closed 3 weeks ago

matheussf commented 3 weeks ago

Description

When clicking on the button to change chat mode, it wasn't working. Chat mode wasn't beind save by the settings. On first login, you always had chat enable and had to press enter twice to make it work. Esc didn't disable chat.

Behavior

Actual

When clicking on the button to change chat mode, it wasn't working. Chat mode wasn't being save by the settings. On first login, you always had chat enable and had to press enter twice to make it work. Esc didn't disable chat.

Expected

When clicking on the button to change chat mode it should change the text and disable/enable chat. Chat mode should be saved on the settings Esc disables chat.

Fixes

No Issues on Github.

Type of change

How Has This Been Tested

Open client, login, enable/disable chat. Close client, open client again, chat should be the same accordingly to the last settings.

Test Configuration: