fixed require typo
forgor to set _sample_played member variable, oops
This commit is contained in:
parent
6749cb2a1c
commit
814553e9a5
|
@ -20,7 +20,7 @@ local TitlePage = require "titlescreen.title"
|
|||
local MainMenuPage = require "titlescreen.mainmenu"
|
||||
|
||||
local ServiceMenuPage = require "titlescreen.service"
|
||||
local InputCheckPage = require "titlescreen.components.inputbuttonfield"
|
||||
local InputCheckPage = require "titlescreen.pages.service.inputcheckpage"
|
||||
local ScreenCheckPage = require "titlescreen.pages.service.screencheckpage"
|
||||
local ColorCheckPage = require "titlescreen.pages.service.colorcheckpage"
|
||||
local VersionInfoPage = require "titlescreen.pages.service.versioninfopage"
|
||||
|
|
|
@ -59,6 +59,7 @@ end
|
|||
function KShootManiaPage:render(deltaTime)
|
||||
if not self._sample_played then
|
||||
self.splash_sample:play()
|
||||
self._sample_played = true
|
||||
end
|
||||
|
||||
Page.render(self, deltaTime)
|
||||
|
|
Loading…
Reference in New Issue