Enjoying the game, but encountered the NaN bug in the terminal view, when checking out the code, it seems (in the minified code atleast) there are 2 issues occurring.
- You are going `this.system.encryptionMax[e]` (e is the minfied variable name so it'll probably be different for you), where `encryptionMax` is set to `5e4`, so 50000, while looking at other pieces of code and the save file, the value looks like it should be `5e6` (so 5000000)
- the value of `e` when calling `a = this.system.encryptionMax[e]`, is set to the realm name (so a simple example is `ashen`), while the `this.system.encryptionMax` object has only the following keys `[
"production", "upgrade", "starchart", "void", "realms" ]` so it'll return undefined, and when the next calculation you do is `n = 1 - Math.max(0, r) / a`, which always becomes `NaN`.
Saying all this, it appears to just be a visual bug, as the actual variable used for the decryption value `player.terminalEncryption[e]` is still being updated, so it just means that the user won't realise they are still decrypting.
Hope this helps