From aad310e558485c2c731f1e57bdbdccb8aced47a7 Mon Sep 17 00:00:00 2001 From: Azumgi Date: Fri, 26 Jan 2018 16:39:56 +0300 Subject: [PATCH] Removed unused hooks for skipping splash screen --- vmf_source/scripts/mods/vmf/modules/gui.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/vmf_source/scripts/mods/vmf/modules/gui.lua b/vmf_source/scripts/mods/vmf/modules/gui.lua index d10dfde..9a8712e 100644 --- a/vmf_source/scripts/mods/vmf/modules/gui.lua +++ b/vmf_source/scripts/mods/vmf/modules/gui.lua @@ -273,21 +273,13 @@ end) ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ -local mod = new_mod("DisableThings") +local mod = new_mod("SkipSplashScreen") mod:hook("StateSplashScreen.on_enter", function(func, self) self._skip_splash = true func(self) end) -mod:hook("SplashView.init", function(self, input_manager, world) - return -end) -mod:hook("SplashView.set_index", function(self, index) - return -end) - - mod:hook("StateSplashScreen.setup_splash_screen_view", function(func, self) func(self) self.splash_view = nil