virtual-world-framework/mars-game — pull request #249 by BrettASwift (2014-07-22 23:28:25+00:00)
Title: Fix inventory bugs

Fixed a bug with swap causing undefined elements in the inventory to be created. Also fixed the addInventory function in scenario.js to work properly with an array.