Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

showHotkeyConfig() only shows for the host #19

Open
Eldinnie opened this issue Apr 22, 2020 · 0 comments
Open

showHotkeyConfig() only shows for the host #19

Eldinnie opened this issue Apr 22, 2020 · 0 comments
Labels
enhancement New feature or request lua Lua scripting

Comments

@Eldinnie
Copy link

Describe the bug
In 12.1 the base function showHotkeyConfig() has been added in conjunction with the addHotkey() functions. After testing it turns out that calling showHotkeyConfig() only pops up the dialog for the host, and not for other players in the room.

To Reproduce
Steps to reproduce the behavior:
call showHotkeyConfig() in any way you like with more then one player (no hotseat) in the room

Expected behavior
hotkey config dialog would show up for all players. or (alternatively) you can use Player[color].showHotkeyConfig() or showHotkeyConfig(player_color) to show selectively.

Lua Scripts & XML UI:

function onLoad(data)
  showHotkeyConfig()
end

Tabletop Simulator Info (please complete the following information):

  • OS: windows
  • Version: 12.3.5

Additional context
The new hotkeys are very usefull. It helps to show the dialog to a player (selectively if possible) to set hotkeys.

@dore0062 dore0062 added enhancement New feature or request lua Lua scripting labels Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request lua Lua scripting
Projects
None yet
Development

No branches or pull requests

2 participants