Skip to content

Commit

Permalink
Forgot to remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyt857 committed Oct 13, 2023
1 parent 166fa96 commit a181a9e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sim/core/apl_values_auto_attacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ func (value *APLValueAutoTimeToNext) Type() proto.APLValueType {
return proto.APLValueType_ValueTypeDuration
}
func (value *APLValueAutoTimeToNext) GetDuration(sim *Simulation) time.Duration {
if sim.Log != nil {
sim.Log("TimeToNextAuto: %s", max(0, value.unit.AutoAttacks.NextAttackAt()-sim.CurrentTime))
}
return max(0, value.unit.AutoAttacks.NextAttackAt()-sim.CurrentTime)
}
func (value *APLValueAutoTimeToNext) String() string {
Expand Down

0 comments on commit a181a9e

Please sign in to comment.