Cheeseness/FLAT — pull request #38 by marcusmoller (2013-01-31 14:21:16+00:00)
Title: Fixed input when swapping scenery

Without this fix, the swapScenery() event would be called for each key repeat. This would make the game swap scenery every millisecond or so as long as you held the KEY_SWAP_SCENERY down.

This new method makes sure that it's only called, when the key KEY_SWAP_SCENERY has been released as well.