diff --git a/decorators/RepeatUnitilFailure.go b/decorators/RepeatUnitilFailure.go index f2f542f..b971b82 100644 --- a/decorators/RepeatUnitilFailure.go +++ b/decorators/RepeatUnitilFailure.go @@ -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") - } } /**