Fix action menu bug.

This commit is contained in:
BeniS 2012-08-02 22:12:54 +12:00
parent ee4f155b92
commit ac65ea5843
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
menu:addOption(tr('Add to VIP list'), function() g_game.addVip(creatureName) end)
end
local localPlayerShield = localPlayer:isCreature():getShield()
local localPlayerShield = localPlayer:getShield()
local creatureShield = creatureThing:getShield()
if localPlayerShield == ShieldNone or localPlayerShield == ShieldWhiteBlue then