From 686206e3e635d1187c104d3b74af367f3ab1dafb Mon Sep 17 00:00:00 2001 From: CharlesCatYT <62410083+CharlesCatYT@users.noreply.github.com> Date: Sat, 29 Jun 2024 03:21:26 +0000 Subject: [PATCH] fix --- source/Main.hx | 4 ---- source/funkin/play/PlayState.hx | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/source/Main.hx b/source/Main.hx index f7bd55ba9b..0cbc058fea 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -130,10 +130,6 @@ class Main extends Sprite addChild(game); - #if !mobile - applicationScreen.stage.scaleMode = openfl.display.StageScaleMode.NO_SCALE; - #end - #if debug game.debugger.interaction.addTool(new funkin.util.TrackerToolButtonUtil()); #end diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index bd5489fc2f..bdb2df6d3f 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -258,6 +258,21 @@ class PlayState extends MusicBeatSubState */ public var totalNotesPlayed:Int = 0; + /** + * The amount of notes per second. + */ + public var notesPerSecond:Int = 0; + + /** + * Array of the amount of notes per second. + */ + public var npsArray:Array = []; + + /** + * The maximum amount of notes per second. + */ + public var maxNps:Int = 0; + /** * The values for the rating system. */