Fix discount being active in standalone

pull/1415/head
tobspr 2 years ago
parent 7e198f2a72
commit ef6e1a223c

@ -169,4 +169,5 @@ if (G_IS_DEV && globalConfig.debug.noArtificialDelays) {
globalConfig.warmupTimeSecondsRegular = 0;
}
globalConfig.currentDiscount.active = new Date().getTime() < globalConfig.currentDiscount.until;
globalConfig.currentDiscount.active =
!G_IS_STANDALONE && new Date().getTime() < globalConfig.currentDiscount.until;

Loading…
Cancel
Save