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:
parent
7e198f2a72
commit
ef6e1a223c
@ -169,4 +169,5 @@ if (G_IS_DEV && globalConfig.debug.noArtificialDelays) {
|
|||||||
globalConfig.warmupTimeSecondsRegular = 0;
|
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…
Reference in New Issue
Block a user