Skip to content

Commit

Permalink
Revert "Test setup"
Browse files Browse the repository at this point in the history
This reverts commit ecf9ace.
  • Loading branch information
lL1l1 committed Nov 4, 2024
1 parent 6e3c694 commit 7e7b30a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions lua/aibrain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,8 @@ AIBrain = Class(FactoryManagerBrainComponent, StatManagerBrainComponent, JammerM

---@param self AIBrain
RecallAllCommanders = function(self)
LOG("AIBrain RecallAllCommanders")
-- local commandCat = categories.COMMAND + categories.SUBCOMMANDER
-- self:ForkThread(self.RecallArmyThread, self:GetListOfUnits(commandCat, false))
local commandCat = categories.COMMAND + categories.SUBCOMMANDER
self:ForkThread(self.RecallArmyThread, self:GetListOfUnits(commandCat, false))
end,

---@param self AIBrain
Expand Down
8 changes: 4 additions & 4 deletions lua/shared/RecallParams.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
--**************************************************************************************************

--- ticks before a player can start the first recall vote (5 minutes)
PlayerGateCooldown = 0--5 * 60 * 10
PlayerGateCooldown = 5 * 60 * 10

--- ticks before a player can request another recall (3 minutes)
PlayerRequestCooldown = 0--3 * 60 * 10
PlayerRequestCooldown = 3 * 60 * 10

--- ticks before a team can have another recall vote (1 minute)
TeamVoteCooldown = 0--1 * 60 * 10
TeamVoteCooldown = 1 * 60 * 10

--- ticks that the recall vote is open (30 seconds)
VoteTime = 30000--30 * 10
VoteTime = 30 * 10

---@param acceptanceVotes number
---@param totalVotes number
Expand Down

0 comments on commit 7e7b30a

Please sign in to comment.