added missing local

This commit is contained in:
TenPlus1 2016-10-22 19:03:13 +01:00
parent 954565efa2
commit e592c18af6
1 changed files with 1 additions and 1 deletions

View File

@ -2413,7 +2413,7 @@ local count_mobs = function(pos, type)
if not objs[n]:is_player() then
obj = objs[n]:get_luaentity()
local obj = objs[n]:get_luaentity()
if obj and obj.name and obj.name == type then
num = num + 1