Commit 68f05d7e authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 1f048abb
......@@ -156,6 +156,7 @@ class Window_Deck < Window_Scrollable
end
end
end
card_usages.push({card_id: last_id, side: side, count: count}) if last_id
result = ""
key = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="
card_usages.each do |card_usage|
......@@ -164,7 +165,7 @@ class Window_Deck < Window_Scrollable
result << key[(c >> i * 6) & 0x3F]
end
end
Dialog.web "https://my-card.in/decks/new#{'.pdf' if index[1] == :buy}?name=#{File.basename(@items[index[0]], ".ydk")}&cards=#{result}#share"
Dialog.web "https://my-card.in/decks/new#{'.pdf' if index[1] == :buy}?name=#{File.basename(@items[index[0]], ".ydk")}&cards=#{result}#{'#share' if index[1] == :share}"
when :delete
require_relative 'widget_msgbox'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment