im dumb
This commit is contained in:
@@ -194,7 +194,7 @@ minetest.register_node("portalgun:turretgun_spawner",
|
|||||||
local found = 0
|
local found = 0
|
||||||
for i, obj in pairs(objs) do
|
for i, obj in pairs(objs) do
|
||||||
local name = obj:get_luaentity().name
|
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
|
found = found + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user