OSDN Git Service

filterはうまく使えないのでペンディング
[kcd/KCD.git] / KCD / DestroyItem2Command.swift
index 49744b7..9ae15b5 100644 (file)
@@ -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)
             }
         }
+        
     }
 }