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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user