Merge remote-tracking branch 'origin/develop' into develop

# Conflicts:
#	Moose Development/Moose/Ops/PlayerTask.lua
This commit is contained in:
Applevangelist 2024-07-29 13:03:10 +02:00
commit 0369aa8080

View File

@ -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