idkr-client / idkr

:video_game: idk, just a Krunker client
GNU Affero General Public License v3.0
55 stars 37 forks source link

menu timer toggle & settings made by userscripts don't work #38

Closed KraXen72 closed 3 years ago

KraXen72 commented 3 years ago

show menu timer toggle doesen't work, also any toggle made by userscripts. idk if these are 2 separate issues, but the toggle doesen't even remember its state, and doesen't turn off anything,

for the settings made with userscripts (v1.0), they do save, but the modified value is not read on start, so e.g. i turn the toggle off, userscirpt reads it as off, so does what its supposed to, but when i go to settings, the toggle is on.

for the menu timer, i couldn't control it in any way by the toggle, only thing that helped was doing this change:

--- a/app/modules/styles-injection.js
+++ b/app/modules/styles-injection.js
@@ -80,6 +80,5 @@ const menuTimerStyles = `
 `;

 module.exports = {
-       baseStyles,
-       menuTimerStyles
+       baseStyles
 };
Mixaz017 commented 3 years ago

Fixed by 805113a, closing