As commands now commit/recalc even in case of failure (as they do not know about exact reason of failure and we're not sure if rollback was succeeded), do not run them for every item added via double-click

This commit is contained in:
DarkPhoenix
2019-04-15 18:44:26 +03:00
parent 4c0f88cdfa
commit 3fa5ac7858
8 changed files with 60 additions and 23 deletions

View File

@@ -401,11 +401,6 @@ class Fit(FitDeprecated):
fit.character = self.character = eos.db.getCharacter(charID)
self.recalc(fit)
@staticmethod
def isAmmo(itemID):
# todo: get rid of this form the service, use directly from item
return eos.db.getItem(itemID).isCharge
@staticmethod
def getTargetResists(fitID):
pyfalog.debug("Get target resists for fit ID: {0}", fitID)