From 04b6542bdf28543b6515b49bb788669b320e7cca Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Sun, 3 Jul 2022 00:45:46 +0300 Subject: [PATCH] move mode switch to patches --- data/ui_scripts/patches/__init__.lua | 1 + .../{no_mode_switch/__init__.lua => patches/no_mode_switch.lua} | 0 2 files changed, 1 insertion(+) rename data/ui_scripts/{no_mode_switch/__init__.lua => patches/no_mode_switch.lua} (100%) diff --git a/data/ui_scripts/patches/__init__.lua b/data/ui_scripts/patches/__init__.lua index 85c92abf..455a0653 100644 --- a/data/ui_scripts/patches/__init__.lua +++ b/data/ui_scripts/patches/__init__.lua @@ -5,6 +5,7 @@ end if (Engine.InFrontend()) then require("shaderdialog") require("gamemodes") + require("no_mode_switch") end -- defined in mp_hud/hudutils.lua diff --git a/data/ui_scripts/no_mode_switch/__init__.lua b/data/ui_scripts/patches/no_mode_switch.lua similarity index 100% rename from data/ui_scripts/no_mode_switch/__init__.lua rename to data/ui_scripts/patches/no_mode_switch.lua