lib/icarus/mod/tools/mod_sync.rb in Icarus-Mod-Tools-1.3.5 vs lib/icarus/mod/tools/mod_sync.rb in Icarus-Mod-Tools-1.4.0
- old
+ new
@@ -26,10 +26,10 @@
next
end.flatten.compact
end
def find_mod(modinfo)
- @firestore.find_mod(:name, modinfo.name)&.id
+ @firestore.find_mod(name: modinfo.name, author: modinfo.author)&.id
end
def find_modinfo(modinfo)
@modinfo_array.find { |mod| mod.name == modinfo.name }
end