Skip to content

Commit

Permalink
Update Repeater.go
Browse files Browse the repository at this point in the history
  • Loading branch information
walkon authored Mar 10, 2022
1 parent 16ca55b commit 42e1ed9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions decorators/Repeater.go
Original file line number Diff line number Diff line change
@@ -36,9 +36,6 @@ type Repeater struct {
func (this *Repeater) Initialize(setting *BTNodeCfg) {
this.Decorator.Initialize(setting)
this.maxLoop = setting.GetPropertyAsInt("maxLoop")
if this.maxLoop < 1 {
panic("maxLoop parameter in MaxTime decorator is an obligatory parameter")
}
}

/**

0 comments on commit 42e1ed9

Please sign in to comment.