diff --git a/buildnumber.txt b/buildnumber.txt index e7814ff8..99a80b18 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1415 \ No newline at end of file +1418 \ No newline at end of file diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 4bf4a6bd..df8c3e55 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -522,6 +522,7 @@ class PlayState extends MusicBeatState function startSong():Void { + scripts.call("onSongStart"); startingSong = false; previousFrameTime = FlxG.game.ticks; diff --git a/source/funkin/system/Paths.hx b/source/funkin/system/Paths.hx index 675a47d5..cf2a8810 100644 --- a/source/funkin/system/Paths.hx +++ b/source/funkin/system/Paths.hx @@ -68,6 +68,11 @@ class Paths return getPath('data/$key.txt', TEXT, library); } + inline static public function ini(key:String, ?library:String) + { + return getPath('data/$key.ini', TEXT, library); + } + inline static public function fragShader(key:String, ?library:String) { return getPath('shaders/$key.frag', TEXT, library);