fixes #140

fixes https://github.com/increpare/PuzzleScript/issues/140