This commit is contained in:
BenDol 2014-08-06 02:40:13 +12:00
parent fe585d27d8
commit 751cb0ca8b
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ function onUseWith(clickedWidget, mousePosition)
if clickedWidget:getClassName() == 'UIGameMap' then if clickedWidget:getClassName() == 'UIGameMap' then
local tile = clickedWidget:getTile(mousePosition) local tile = clickedWidget:getTile(mousePosition)
if tile then if tile then
if selectedThing:isFluidContainer() then if selectedThing:isFluidContainer() or selectThing:isMultiUse() then
g_game.useWith(selectedThing, tile:getTopMultiUseThing()) g_game.useWith(selectedThing, tile:getTopMultiUseThing())
else else
g_game.useWith(selectedThing, tile:getTopUseThing()) g_game.useWith(selectedThing, tile:getTopUseThing())