Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
736 stars 74 forks source link

Fixed un-trimmed input being added to commandHistory #27

Closed uen closed 9 years ago

uen commented 9 years ago

-Input is now trimmed before it is added to commandHistory. It stops this happening: image

-doCommand no longer trims input because it is now done before it's called -Empty strings don't get added to commandHistory

andrewmcwatters commented 9 years ago

Wow, nice find! I can't believe this slipped through.

andrewmcwatters commented 9 years ago

Marking this as scheduled for upstream merge into vertex-adventure.