mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Bug Fix
Bug fix for crate timing out
This commit is contained in:
parent
b5436bd6d2
commit
f12c67c5e0
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.iml
|
||||
.idea/encodings.xml
|
||||
*.xml
|
||||
5
CTLD.lua
5
CTLD.lua
@ -16,7 +16,8 @@
|
||||
- jmontleon - https://github.com/jmontleon
|
||||
- emilianomolina - https://github.com/emilianomolina
|
||||
|
||||
Version: 1.71 - 18/01/2018
|
||||
Version: 1.72 - 18/02/2018
|
||||
- Bug fix for crate spam
|
||||
- Improved JTAC Performance - priority & targeting
|
||||
- Added JTAC report for in view
|
||||
- Added ability to set maximum group size that can be carried
|
||||
@ -1583,7 +1584,7 @@ function ctld.spawnCrate(_arguments)
|
||||
local _position = _heli:getPosition()
|
||||
|
||||
-- check crate spam
|
||||
if _heli:getPlayerName() ~= nil and ctld.crateWait[_heli:getPlayerName()] and ctld.crateWait[_heli:getPlayerName()] < timer.getTime() then
|
||||
if _heli:getPlayerName() ~= nil and ctld.crateWait[_heli:getPlayerName()] and ctld.crateWait[_heli:getPlayerName()] > timer.getTime() then
|
||||
|
||||
ctld.displayMessageToGroup(_heli,"Sorry you must wait "..(ctld.crateWait[_heli:getPlayerName()] - timer.getTime()).. " seconds before you can get another crate", 20)
|
||||
return
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
test-fob.miz
BIN
test-fob.miz
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test-mission.miz
BIN
test-mission.miz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user