1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 09:40:21 +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? -- found entity on list to attack?
for no = 1, #list do for no = 1, #list do
if list[no] == what or list[no] == "player" then if list[no] == what then
return true return true
end end
end end