mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-25 16:24:40 +00:00
Typo fixes
This commit is contained in:
parent
d0ef34ced6
commit
92a0c367b7
|
@ -3,7 +3,6 @@ package funkin;
|
|||
import funkin.util.Constants;
|
||||
import flixel.util.FlxSignal;
|
||||
import flixel.math.FlxMath;
|
||||
import funkin.SongLoad.SwagSong;
|
||||
import funkin.play.song.Song.SongDifficulty;
|
||||
import funkin.play.song.SongData.SongTimeChange;
|
||||
|
||||
|
|
|
@ -1640,9 +1640,9 @@ class PlayState extends MusicBeatState
|
|||
{
|
||||
if (note == null) continue;
|
||||
|
||||
var hitWindowStart = note.strumTime - Conductor.HIT_WINDOW_MS;
|
||||
var hitWindowStart = note.strumTime - Constants.HIT_WINDOW_MS;
|
||||
var hitWindowCenter = note.strumTime;
|
||||
var hitWindowEnd = note.strumTime + Conductor.HIT_WINDOW_MS;
|
||||
var hitWindowEnd = note.strumTime + Constants.HIT_WINDOW_MS;
|
||||
|
||||
if (Conductor.songPosition > hitWindowEnd)
|
||||
{
|
||||
|
@ -1717,9 +1717,9 @@ class PlayState extends MusicBeatState
|
|||
{
|
||||
if (note == null || note.hasBeenHit) continue;
|
||||
|
||||
var hitWindowStart = note.strumTime - Conductor.HIT_WINDOW_MS;
|
||||
var hitWindowStart = note.strumTime - Constants.HIT_WINDOW_MS;
|
||||
var hitWindowCenter = note.strumTime;
|
||||
var hitWindowEnd = note.strumTime + Conductor.HIT_WINDOW_MS;
|
||||
var hitWindowEnd = note.strumTime + Constants.HIT_WINDOW_MS;
|
||||
|
||||
if (Conductor.songPosition > hitWindowEnd)
|
||||
{
|
||||
|
|
|
@ -205,6 +205,9 @@ class Constants
|
|||
* TIMING
|
||||
*/
|
||||
// ==============================
|
||||
public static final HIT_WINDOW_MS:Int = 160;
|
||||
|
||||
public static final PIXELS_PER_MS:Float = 0.45;
|
||||
|
||||
/**
|
||||
* The number of seconds in a minute.
|
||||
|
|
Loading…
Reference in a new issue