0.6.15 Crash when playing gambling dwarf's scratch game

I was in a realm and entered a portal which brought me to a tavern with the 4 gambling dwarves where I could play for free. I then played the scratch game and got the following error: