Wrinkler button disappear when not active

This commit is contained in:
Daniël van Noord committed 2021-03-26 16:26:57 +01:00
1 parent 48c3bad336
commit fe8749e7b2
6 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { CMOptions } from '../VariablesAndData';
* It is called by changes in CM.Options.WrinklerButtons
*/
export default function ToggleWrinklerButtons() {
if (CMOptions.WrinklerButtons) {
if (CMOptions.WrinklerButtons && Game.elderWrath) {
l('PopAllNormalWrinklerButton').style.display = '';
l('PopFattestWrinklerButton').style.display = '';
} else {