mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
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
|
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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user