seastan / dragncards-wotr-plugin

2 stars 1 forks source link

Repeated layout loading #11

Closed A4AndreCRC closed 1 month ago

A4AndreCRC commented 1 month ago

When loading a new layout, or when changing the layout for everyone from "onlyShowMyHand" to "allHandsVisible" and vice versa, every LOG and PROMPT is repeated about 7 times. The gameplay is not affected, but the PROMPT triggered by the 6-players layout is quite annoying.

A4AndreCRC commented 1 month ago

Follow-up to this: I have edited and pushed the code so that the PROMPT is not repeated in 6 players. I reckon that when everyone changes the layout, every function is triggered by "every player", and that's why everything in the log (or any prompt with 'notifyAll') is repeated that amount of times.

seastan commented 1 month ago

This is an internal dragncards bug and will be fixed next time the server restarts