1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Fix discount being active in standalone

This commit is contained in:
tobspr 2022-04-20 11:18:31 +02:00
parent 7e198f2a72
commit ef6e1a223c

View File

@ -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;