mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-07-06 18:30:20 +02:00
fix runaway function
This commit is contained in:
2
api.lua
2
api.lua
@ -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
|
||||||
|
Reference in New Issue
Block a user