Fix typo in gameinterface.lua
This commit is contained in:
parent
751cb0ca8b
commit
9fcc4c7355
|
@ -357,7 +357,7 @@ function onUseWith(clickedWidget, mousePosition)
|
|||
if clickedWidget:getClassName() == 'UIGameMap' then
|
||||
local tile = clickedWidget:getTile(mousePosition)
|
||||
if tile then
|
||||
if selectedThing:isFluidContainer() or selectThing:isMultiUse() then
|
||||
if selectedThing:isFluidContainer() or selectedThing:isMultiUse() then
|
||||
g_game.useWith(selectedThing, tile:getTopMultiUseThing())
|
||||
else
|
||||
g_game.useWith(selectedThing, tile:getTopUseThing())
|
||||
|
|
Loading…
Reference in New Issue