Fix typo in gameinterface.lua

This commit is contained in:
Sam 2014-08-05 19:37:09 +02:00
parent 751cb0ca8b
commit 9fcc4c7355
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() or selectThing:isMultiUse() then if selectedThing:isFluidContainer() or selectedThing: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())