Skip to content

Commit

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

Please sign in to comment.