forked from Mirrorlandia_minetest/portalgun
im dumb
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user