summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-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