OSDN Git Service
(root)
/
kcd
/
KCD.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filterはうまく使えないのでペンディング
[kcd/KCD.git]
/
KCD
/
DestroyItem2Command.swift
diff --git
a/KCD/DestroyItem2Command.swift
b/KCD/DestroyItem2Command.swift
index
49744b7
..
9ae15b5
100644
(file)
--- a/
KCD/DestroyItem2Command.swift
+++ b/
KCD/DestroyItem2Command.swift
@@
-40,11
+40,11
@@
final class DestroyItem2Command: JSONCommand {
zip(gm, resouces).forEach {
- // TODO: use filter
if let current = material.value(forKey: $0.1) as? Int {
material.setValue((current + $0.0) as NSNumber, forKey: $0.1)
}
}
+
}
}