From 1c72647d40ff53d802ca6db560dd5b730835e4e4 Mon Sep 17 00:00:00 2001 From: ZioPao Date: Tue, 30 Sep 2025 01:01:41 +0200 Subject: [PATCH] fix: fix for cheat prevention with both hands feasibility to false --- .../client/TOC/Controllers/LimitActionsController.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/common/media/lua/client/TOC/Controllers/LimitActionsController.lua b/common/media/lua/client/TOC/Controllers/LimitActionsController.lua index d118140..5583217 100644 --- a/common/media/lua/client/TOC/Controllers/LimitActionsController.lua +++ b/common/media/lua/client/TOC/Controllers/LimitActionsController.lua @@ -38,17 +38,12 @@ end -- We need to override when the player changes key binds manually to be sure that TOC changes are re-applied local og_MainOptions_apply = MainOptions.apply -function MainOptions:apply() - og_MainOptions_apply(self) +function MainOptions:apply(closeAfter) + og_MainOptions_apply(self, closeAfter) CachedDataHandler.OverrideBothHandsFeasibility() end - - - - - -------------------------------------------- --* TIMED ACTIONS --* We want to be able to modify how long actions are gonna take,