This commit is contained in:
2022-08-14 16:05:38 +02:00
parent 910d9e0979
commit d89538d0a2

View File

@ -194,7 +194,7 @@ minetest.register_node("portalgun:turretgun_spawner",
local found = 0
for i, obj in pairs(objs) do
local name = obj:get_luaentity().name
if name== "portalgun:turretgun" and name == "portalgun:turretgun2" then
if name== "portalgun:turretgun" or name == "portalgun:turretgun2" then
found = found + 1
end
end