Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
Bug fix for crate timing out
  • Loading branch information
Ciaran Fisher committed Feb 18, 2018
1 parent b5436bd commit f12c67c
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.iml
.idea/encodings.xml
*.xml
5 changes: 3 additions & 2 deletions CTLD.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Binary file modified Cargo Spawn Test.miz
Binary file not shown.
Binary file modified Pickup-Dropoff-Demo.miz
Binary file not shown.
Binary file modified test-fob.miz
Binary file not shown.
Binary file modified test-mission - real slingload.miz
Binary file not shown.
Binary file modified test-mission-jtac-priority.miz
Binary file not shown.
Binary file modified test-mission.miz
Binary file not shown.

0 comments on commit f12c67c

Please sign in to comment.