Skip to content

Commit

Permalink
Update ModchartUtilities.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Dec 15, 2023
1 parent 442ad75 commit 053984c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/modding/ModchartUtilities.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2782,9 +2782,12 @@ class ModchartUtilities {

setLuaFunction("updateRating", function() {
PlayState.instance.updateRating();
});

setLuaFunction("getOption", function(saveStr:String) {
return Options.getData(saveStr);
});


#if MODCHARTING_TOOLS
if (PlayState.SONG.modchartingTools){
setLuaFunction('startMod', function(name:String, modClass:String, type:String = '', pf:Int = -1){
Expand Down

0 comments on commit 053984c

Please sign in to comment.