plugins/discord: fix softlist longname

This commit is contained in:
cracyc 2021-02-13 09:39:39 -06:00
parent 2604f15c10
commit 5faba2b813

View File

@ -52,8 +52,8 @@ function discord.startplugin()
local details = running and manager.machine.system.description or nil
if emu.softname() ~= "" then
for name, dev in pairs(manager.machine.images) do
if dev:longname() then
details = details .. " (" .. dev:longname() .. ")"
if dev.software_longname then
details = details .. " (" .. dev.software_longname .. ")"
break
end
end