Skip to content
Snippets Groups Projects
Commit d8684445 authored by dg's avatar dg
Browse files

Setting leash anchor for party members will not prompt a "are you sure" dialog when self targetting

git-svn-id: http://svn.net-core.org/repos/t-engine4@4458 51575b47-30f0-44d4-a5cc-537603b46e54
parent 25de4456
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ function _M:giveOrder(actor, order)
end), 1)
elseif order == "anchor" then
local co = coroutine.create(function()
local x, y, act = game.player:getTarget({type="hit", range=10})
local x, y, act = game.player:getTarget({type="hit", range=10, nowarning=true})
local anchor
if x and y then
if act then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment