diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..455f550 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.iml +.idea/encodings.xml +*.xml \ No newline at end of file diff --git a/CTLD.lua b/CTLD.lua index 056ad7d..f6fbef6 100644 --- a/CTLD.lua +++ b/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 diff --git a/Cargo Spawn Test.miz b/Cargo Spawn Test.miz index b399230..79c87f1 100644 Binary files a/Cargo Spawn Test.miz and b/Cargo Spawn Test.miz differ diff --git a/Pickup-Dropoff-Demo.miz b/Pickup-Dropoff-Demo.miz index 2f8702e..b3275ff 100644 Binary files a/Pickup-Dropoff-Demo.miz and b/Pickup-Dropoff-Demo.miz differ diff --git a/test-fob.miz b/test-fob.miz index dd3e9d4..5afbb2d 100644 Binary files a/test-fob.miz and b/test-fob.miz differ diff --git a/test-mission - real slingload.miz b/test-mission - real slingload.miz index 50488be..5e6ed9c 100644 Binary files a/test-mission - real slingload.miz and b/test-mission - real slingload.miz differ diff --git a/test-mission-jtac-priority.miz b/test-mission-jtac-priority.miz index 1c4949f..3d19205 100644 Binary files a/test-mission-jtac-priority.miz and b/test-mission-jtac-priority.miz differ diff --git a/test-mission.miz b/test-mission.miz index 1265b97..d0ce958 100644 Binary files a/test-mission.miz and b/test-mission.miz differ