Fix #264

courtesy of @rmmh (
https://github.com/rmmh/PuzzleScript/commit/207c5f8b5112e63bb16c4549503aa065d18ed28c
)