Skip to content

Commit bf6e3c5

Browse files
fix(game_console): WASD toggle for game_hotkeys (#1461)
1 parent a4bb938 commit bf6e3c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/game_console/console.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ function toggleChat()
349349
else
350350
consoleToggleChat:setText(tr('Chat On'))
351351
end
352+
353+
updateChatMode()
352354
end
353355

354356
-- id of object first and then action
@@ -424,8 +426,6 @@ function switchChatOnCall()
424426
toggleChat()
425427
end
426428
end
427-
428-
updateChatMode()
429429
end
430430

431431
function disableChatOnCall()
@@ -436,8 +436,6 @@ function disableChatOnCall()
436436
if isChatEnabled() and not consoleToggleChat.isChecked then
437437
toggleChat()
438438
end
439-
440-
updateChatMode()
441439
end
442440

443441
function isChatEnabled()

0 commit comments

Comments
 (0)