Merge pull request #123 from 109C/master

Disable shift clicking
This commit is contained in:
Romain Beaumont 2015-11-25 00:12:07 +01:00
commit 804ddee7c1

View file

@ -38,9 +38,11 @@ module.exports.player = function(player)
if(clickInfo.mouseButton == 0){ if(clickInfo.mouseButton == 0){
// Shift + Left click // Shift + Left click
// Inventory deals with this // Inventory deals with this
return;
}else{ }else{
// Shift + right click // Shift + right click
// Inventory deals with this // Inventory deals with this
return;
} }
break; break;
@ -65,9 +67,11 @@ module.exports.player = function(player)
if(clickInfo.mouseButton == 0){ if(clickInfo.mouseButton == 0){
// Drop one item at slot // Drop one item at slot
// Inventory handles removing one // Inventory handles removing one
return;
}else{ }else{
// Drop full stack at slot // Drop full stack at slot
// Inventory handles removing the whole stack // Inventory handles removing the whole stack
return;
} }
} }
break; break;