Actually disable inviter kicker

This commit is contained in:
2025-01-06 01:09:34 +01:00
parent 2c6142e6c4
commit 476adcdc2e
3 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
## Interface: 70300 ## Interface: 70300
## Title: Heimdall ## Title: Heimdall
## Version: 2.13.1 ## Version: 2.13.2
## Notes: Watches over areas and alerts when hostiles spotted ## Notes: Watches over areas and alerts when hostiles spotted
## Author: Cyka ## Author: Cyka
## SavedVariables: Heimdall_Data ## SavedVariables: Heimdall_Data

BIN
Heimdall.zip LFS

Binary file not shown.

View File

@@ -62,6 +62,7 @@ function shared.Inviter.Init()
---@type table<string, number> ---@type table<string, number>
local groupMembers = {} local groupMembers = {}
local function CleanGroups() local function CleanGroups()
if not Heimdall_Data.config.inviter.kickOffline then return end
print("Cleaning groups") print("Cleaning groups")
local now = GetTime() local now = GetTime()
for i = 1, 40 do for i = 1, 40 do