Skip to content

Commit

Permalink
Update RepeatUntilSuccess.go
Browse files Browse the repository at this point in the history
  • Loading branch information
walkon authored Mar 10, 2022
1 parent ac36e2b commit 16ca55b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions decorators/RepeatUntilSuccess.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ type RepeatUntilSuccess struct {
func (this *RepeatUntilSuccess) 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")
}
}

/**
Expand Down

0 comments on commit 16ca55b

Please sign in to comment.