mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-01 16:40:22 +02:00
fix unequipping with capital U
This commit is contained in:
parent
d57ddbd3bf
commit
ac78e14585
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
|
||||||
};
|
};
|
||||||
|
|
||||||
var onKeyPress = function(event) {
|
var onKeyPress = function(event) {
|
||||||
if (event.text === UNEQUIP_KEY) {
|
if (event.text.toLowerCase() === UNEQUIP_KEY) {
|
||||||
if (rightEquipEntity.targetEntityID) {
|
if (rightEquipEntity.targetEntityID) {
|
||||||
rightEquipEntity.endEquipEntity();
|
rightEquipEntity.endEquipEntity();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue