Skip to content

Commit

Permalink
lol forgot to put this here
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitawastaken committed Jul 20, 2024
1 parent 9fe5451 commit 7217a25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/groupaistatebesiege.lua
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,10 @@ Hooks:OverrideFunction(GroupAIStateBesiege, "_perform_group_spawning", function(
self:_set_spawn_task_type_cooldown(spawn_task, spawn_task.group.size * spawn_rate * spawn_rate_player_mul)
end)

local function spawn_group_id(spawn_group)
return spawn_group.mission_element:id()
end

function GroupAIStateBesiege:_choose_best_group(best_groups, total_weight)
local rand_wgt = total_weight * math.random()
local best_grp, best_grp_type = nil
Expand Down

0 comments on commit 7217a25

Please sign in to comment.