fix unequipping with capital U

This commit is contained in:
David Back 2018-05-14 11:44:25 -07:00
parent d57ddbd3bf
commit ac78e14585

View file

@ -828,7 +828,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
};
var onKeyPress = function(event) {
if (event.text === UNEQUIP_KEY) {
if (event.text.toLowerCase() === UNEQUIP_KEY) {
if (rightEquipEntity.targetEntityID) {
rightEquipEntity.endEquipEntity();
}