mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Replace gConsoleOpen with function
This commit is contained in:
@@ -84,7 +84,7 @@ void TextComposition::HandleMessage(const SDL_Event * e)
|
||||
if (_session.Buffer != nullptr)
|
||||
{
|
||||
// HACK ` will close console, so don't input any text
|
||||
if (e->text.text[0] == '`' && gConsoleOpen) {
|
||||
if (e->text.text[0] == '`' && console_is_open()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user