mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # Moose Development/Moose/Ops/PlayerTask.lua
This commit is contained in:
commit
0369aa8080
@ -133,7 +133,7 @@ function PLAYERTASK:New(Type, Target, Repeat, Times, TTSType)
|
||||
self.TTSType = TTSType or "close air support"
|
||||
self.lastsmoketime = 0
|
||||
|
||||
if type(Repeat) == "boolean" and type(Times) == "number" then
|
||||
if type(Repeat) == "boolean" and Repeat == true and type(Times) == "number" and Times > 1 then
|
||||
self.Repeat = true
|
||||
self.RepeatNo = Times or 1
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user