mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-12-03 13:21:34 +00:00
Fixed offline production more
This commit is contained in:
parent
45125b2dec
commit
8f890e1957
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
# The Modding Tree changelog:
|
||||
|
||||
- Fixed offline production more.
|
||||
|
||||
# v2.6.5 - 7/7/21
|
||||
- Fixed offline production.
|
||||
- Fixed formatting for small negative numbers.
|
||||
|
|
|
@ -408,7 +408,7 @@ var interval = setInterval(function() {
|
|||
player.offTime.remain -= offlineDiff
|
||||
diff += offlineDiff
|
||||
}
|
||||
if (!player.offlineProd || player.offTime.remain <= 0) player.offTime = undefined
|
||||
if (!options.offlineProd || player.offTime.remain <= 0) player.offTime = undefined
|
||||
}
|
||||
if (player.devSpeed) diff *= player.devSpeed
|
||||
player.time = now
|
||||
|
|
Loading…
Reference in a new issue