fixed require typo

forgor to set _sample_played member variable, oops
This commit is contained in:
Hersi 2022-06-29 00:47:39 +02:00
parent 6749cb2a1c
commit 814553e9a5
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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)