removed some useless warnings

This commit is contained in:
ZioPao
2023-11-12 06:00:10 +01:00
parent 52a4798377
commit f973b774a2
3 changed files with 5 additions and 0 deletions

View File

@@ -142,6 +142,7 @@ Events.OnPlayerGetDamage.Add(PlayerHandler.CheckInfection)
local og_ISBaseTimedAction_adjustMaxTime = ISBaseTimedAction.adjustMaxTime
--- Adjust time
---@diagnostic disable-next-line: duplicate-set-field
function ISBaseTimedAction:adjustMaxTime(maxTime)
local time = og_ISBaseTimedAction_adjustMaxTime(self, maxTime)
local modDataHandler = ModDataHandler.GetInstance()
@@ -164,6 +165,7 @@ end
local og_ISBaseTimedAction_perform = ISBaseTimedAction.perform
--- After each action, level up perks
---@diagnostic disable-next-line: duplicate-set-field
function ISBaseTimedAction:perform()
og_ISBaseTimedAction_perform(self)