summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-05-05 15:49:28 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-05-05 15:49:28 +0100
commit33551a1441de0a6e4874e5764152e5d2b7fe51f8 (patch)
treeaa9c05344b86c451eb36aab8190c3410d496c80c
parenta089d27db8ac3455943fd324e716da55155b98c8 (diff)
fix runaway function
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index a4f907e..d55119d 100644
--- a/api.lua
+++ b/api.lua
@@ -1464,7 +1464,7 @@ local specific_runaway = function(list, what)
-- found entity on list to attack?
for no = 1, #list do
- if list[no] == what or list[no] == "player" then
+ if list[no] == what then
return true
end
end