Fix timer, make logging less annoying when at Info or higher level. Only show command bonus logspam if there is any.

This commit is contained in:
Ebag333
2017-02-13 13:25:42 -08:00
parent 35e330f574
commit be9eaa0859
5 changed files with 11 additions and 13 deletions

View File

@@ -639,7 +639,6 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
effect.handler(fit, self, chargeContext, effect=effect)
except:
effect.handler(fit, self, chargeContext)
pyfalog.debug("Applying effect handler for charge without effect.")
if self.item:
if self.state >= State.OVERHEATED:
@@ -663,7 +662,6 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
effect.handler(fit, self, context, effect=effect)
except:
effect.handler(fit, self, context)
pyfalog.debug("Applying effect handler without effect")
@property
def cycleTime(self):