Removed unused hooks for skipping splash screen

This commit is contained in:
Azumgi 2018-01-26 16:39:56 +03:00
parent ce57d6570e
commit aad310e558

View file

@ -273,21 +273,13 @@ end)
------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------
------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------
local mod = new_mod("DisableThings") local mod = new_mod("SkipSplashScreen")
mod:hook("StateSplashScreen.on_enter", function(func, self) mod:hook("StateSplashScreen.on_enter", function(func, self)
self._skip_splash = true self._skip_splash = true
func(self) func(self)
end) 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) mod:hook("StateSplashScreen.setup_splash_screen_view", function(func, self)
func(self) func(self)
self.splash_view = nil self.splash_view = nil