Skip to content

Commit

Permalink
Compiling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo committed Oct 17, 2024
1 parent cc83f26 commit 2cde5bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/funkin/backend/chart/ChartData.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typedef ChartMetaData = {
public var ?bpm:Float;
public var ?displayName:String;
public var ?beatsPerMeasure:Float;
public var ?stepsPerBeat:Float;
public var ?stepsPerBeat:Int;
public var ?needsVoices:Bool;
public var ?icon:String;
public var ?color:Dynamic;
Expand Down
2 changes: 1 addition & 1 deletion source/funkin/backend/utils/CoolUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ class CoolUtil

var timeSignParsed:Array<Null<Float>> = musicInfo["TimeSignature"] == null ? [] : [for(s in musicInfo["TimeSignature"].split("/")) Std.parseFloat(s)];
var beatsPerMeasure:Float = 4;
var stepsPerBeat:Float = 4;
var stepsPerBeat:Int = 4;

// Check later, i dont think timeSignParsed can contain null, only nan
if (timeSignParsed.length == 2 && !timeSignParsed.contains(null)) {
Expand Down

0 comments on commit 2cde5bf

Please sign in to comment.