unhardcode data folder from Paths.txt

This commit is contained in:
M&M
2021-07-01 19:31:14 -07:00
parent 2cd24cadc9
commit 460d072c78
5 changed files with 10 additions and 10 deletions

View File

@ -239,7 +239,7 @@ class TitleState extends MusicBeatState
function getIntroTextShit():Array<Array<String>>
{
var fullText:String = Assets.getText(Paths.txt('introText'));
var fullText:String = Assets.getText(Paths.txt('data/introText'));
var firstArray:Array<String> = fullText.split('\n');
var swagGoodArray:Array<Array<String>> = [];