mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-11 12:31:08 +00:00
Fixed offline production more
This commit is contained in:
parent
45125b2dec
commit
8f890e1957
2 changed files with 3 additions and 1 deletions
js
|
@ -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…
Add table
Add a link
Reference in a new issue