From ef3c0805569f27af6b3bedb622b52f6a91be41d8 Mon Sep 17 00:00:00 2001 From: Jacob Schmidt Date: Sat, 10 May 2025 17:52:02 -0500 Subject: [PATCH] fix: Comment out OpenDevConsole action in fnc_openBank.sqf This commit disables the OpenDevConsole action in the bank's open function to prevent unintended access during normal operations. The change enhances security and maintains a cleaner user experience. --- addons/bank/functions/fnc_openBank.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/bank/functions/fnc_openBank.sqf b/addons/bank/functions/fnc_openBank.sqf index 4b083c9..38679b5 100644 --- a/addons/bank/functions/fnc_openBank.sqf +++ b/addons/bank/functions/fnc_openBank.sqf @@ -30,7 +30,7 @@ if (_steamBranchName == "profiling") then { }]; _ctrl ctrlWebBrowserAction ["LoadFile", QUOTE(PATHTOF(ui\_site\index.html))]; - _ctrl ctrlWebBrowserAction ["OpenDevConsole"]; + // _ctrl ctrlWebBrowserAction ["OpenDevConsole"]; } else { disableSerialization; createDialog "RscBankDialog";