Fixed inverted sanity check in SetGameMode()

Fixes #22.