mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
xx
This commit is contained in:
parent
801e03551f
commit
23697f4fe3
@ -133,7 +133,7 @@ function PLAYERTASK:New(Type, Target, Repeat, Times, TTSType)
|
||||
self.TTSType = TTSType or "close air support"
|
||||
self.lastsmoketime = 0
|
||||
|
||||
if Repeat then
|
||||
if type(Repeat) == "boolean" and type(Times) == "number" then
|
||||
self.Repeat = true
|
||||
self.RepeatNo = Times or 1
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user