Fixed immersion option adding everybody in the arena on the player's group

This commit is contained in:
Tercio Jose
2023-05-04 18:46:33 -03:00
parent 773ec4342d
commit 254f6bc8bb
3 changed files with 16 additions and 3 deletions
+9
View File
@@ -94,6 +94,15 @@
Details222.GarbageCollector = {}
Details222.BreakdownWindow = {}
Details222.PlayerStats = {}
---add a statistic, log, or any other data to the player stat table
---@param statName string
---@param value number
function Details222.PlayerStats:AddStat(statName, value)
Details.player_stats[statName] = (Details.player_stats[statName] or 0) + value
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--initialization stuff
local _