Commit 6a890dd1 authored by Peter Xin's avatar Peter Xin

Temp fix

parent 097f2464
......@@ -42,6 +42,10 @@ module Commands
changes = HashJudger.compare data
generates = changes[0] + changes[2]
removes = changes[1]
# 这两句是暂时排除 Bug 用。
generates = generates.select { |card| card != nil }
removes = removes.select { |card| card != nil }
# 因此可能导致无法预期的后果。
data = Sqlite.split generates
for card in removes
id = YGOCoreJudgers.get_id card
......
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