Removed unused hooks for skipping splash screen
This commit is contained in:
parent
ce57d6570e
commit
aad310e558
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue