1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-23 17:20:22 +01:00

fix runaway function

This commit is contained in:
TenPlus1 2018-05-05 15:49:28 +01:00
parent a089d27db8
commit 33551a1441

View File

@ -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