Hi! First of all, thanks for the kind words about my game. It's been a couple of years since its release and I'm super happy people are still enjoying it!
Thanks for reporting the bug, too. You're correct that I forgot to close an if-statement. I've added the missing tag and it's all fixed now. (Funnily enough, I've changed PCs since I last edited the game, and the biggest challenge was finding the correct old version of Sugarcube which wouldn't break everything.)
(Also, that's lot of cash, experience and renown!)