After ending any week my cash keeps getting set to "$[number NaN]". Seems like the value just gets emptied for this variable.
Yeah, this is caused by issue in code where weekly income from VR Saloon (new content from v0.80 from what i've gathered from code) is not handled properly if you do not own it.
To fix it just open game html file in any text editor, go to line 1606 (or search for "set $player_cash += $vrIncome") and replace it with this
Original:
HTML:
<<if $day is 7>><<set $player_cash += $vrIncome>><<if $nevershowagain is false....
Corrected:
Code:
<<if $day is 7>><<if $vr is true>><<set $player_cash += $vrIncome>><</if>><<if $nevershowagain is false....
Edit: This will fix issue, but if you have already cash as $[number NaN] you will need to reload older save or restart game.