mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Fix action menu bug.
This commit is contained in:
@@ -322,7 +322,7 @@ function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
|
|||||||
menu:addOption(tr('Add to VIP list'), function() g_game.addVip(creatureName) end)
|
menu:addOption(tr('Add to VIP list'), function() g_game.addVip(creatureName) end)
|
||||||
end
|
end
|
||||||
|
|
||||||
local localPlayerShield = localPlayer:isCreature():getShield()
|
local localPlayerShield = localPlayer:getShield()
|
||||||
local creatureShield = creatureThing:getShield()
|
local creatureShield = creatureThing:getShield()
|
||||||
|
|
||||||
if localPlayerShield == ShieldNone or localPlayerShield == ShieldWhiteBlue then
|
if localPlayerShield == ShieldNone or localPlayerShield == ShieldWhiteBlue then
|
||||||
|
Reference in New Issue
Block a user