Skip to content

Commit

Permalink
just get out
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Dec 26, 2024
1 parent 06f303d commit eea28fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ class PlayState extends MusicBeatState
daNote.visible = false;
daNote.ignoreNote = true;

if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
unspawnNotes.remove(daNote);
daNote.destroy();
}
Expand All @@ -1625,7 +1625,7 @@ class PlayState extends MusicBeatState
daNote.visible = false;
daNote.ignoreNote = true;

if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
}
Expand Down Expand Up @@ -2533,7 +2533,7 @@ class PlayState extends MusicBeatState
daNote.active = false;
daNote.visible = false;

if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
}
Expand Down Expand Up @@ -3499,7 +3499,7 @@ class PlayState extends MusicBeatState
daNote.active = false;
daNote.visible = false;

if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
}
Expand Down Expand Up @@ -3796,7 +3796,7 @@ class PlayState extends MusicBeatState
{
if (Math.abs(doubleNote.strumTime - epicNote.strumTime) < 1)
{
if (!ClientPrefs.lowQuality || !cpuControlled) doubleNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) doubleNote.kill();
notes.remove(doubleNote, true);
doubleNote.destroy();
}
Expand Down Expand Up @@ -3941,7 +3941,7 @@ class PlayState extends MusicBeatState
{
if (Math.abs(doubleNote.strumTime - epicNote.strumTime) < 1)
{
if (!ClientPrefs.lowQuality || !cpuControlled) doubleNote.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) doubleNote.kill();
notes.remove(doubleNote, true);
doubleNote.destroy();
}
Expand Down Expand Up @@ -4102,7 +4102,7 @@ class PlayState extends MusicBeatState
&& daNote.isSustainNote == note.isSustainNote
&& Math.abs(daNote.strumTime - note.strumTime) < 1)
{
if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down Expand Up @@ -4254,7 +4254,7 @@ class PlayState extends MusicBeatState

if (!note.isSustainNote)
{
if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down Expand Up @@ -4296,7 +4296,7 @@ class PlayState extends MusicBeatState
note.wasGoodHit = true;
if (!note.isSustainNote)
{
if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down Expand Up @@ -4377,7 +4377,7 @@ class PlayState extends MusicBeatState

if (!note.isSustainNote)
{
if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
//if (!ClientPrefs.lowQuality || !cpuControlled) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down
14 changes: 7 additions & 7 deletions source/editors/EditorPlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class EditorPlayState extends MusicBeatState

if (!daNote.isSustainNote)
{
if (!ClientPrefs.lowQuality) daNote.kill();
//if (!ClientPrefs.lowQuality) daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
}
Expand All @@ -490,7 +490,7 @@ class EditorPlayState extends MusicBeatState
//Dupe note remove
notes.forEachAlive(function(note:Note) {
if (daNote != note && daNote.mustPress && daNote.noteData == note.noteData && daNote.isSustainNote == note.isSustainNote && Math.abs(daNote.strumTime - note.strumTime) < 10) {
if (!ClientPrefs.lowQuality) note.kill();
//if (!ClientPrefs.lowQuality) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand All @@ -506,7 +506,7 @@ class EditorPlayState extends MusicBeatState
daNote.active = false;
daNote.visible = false;

if (!ClientPrefs.lowQuality) daNote.kill();
//if (!ClientPrefs.lowQuality) daNote.kill();
notes.remove(daNote, true);
daNote.destroy();
}
Expand Down Expand Up @@ -605,7 +605,7 @@ class EditorPlayState extends MusicBeatState
{
for (doubleNote in pressNotes) {
if (Math.abs(doubleNote.strumTime - epicNote.strumTime) < 1) {
if (!ClientPrefs.lowQuality) doubleNote.kill();
//if (!ClientPrefs.lowQuality) doubleNote.kill();
notes.remove(doubleNote, true);
doubleNote.destroy();
} else
Expand Down Expand Up @@ -722,7 +722,7 @@ class EditorPlayState extends MusicBeatState
{
for (doubleNote in pressNotes) {
if (Math.abs(doubleNote.strumTime - epicNote.strumTime) < 1) {
if (!ClientPrefs.lowQuality) doubleNote.kill();
//if (!ClientPrefs.lowQuality) doubleNote.kill();
notes.remove(doubleNote, true);
doubleNote.destroy();
} else
Expand Down Expand Up @@ -842,7 +842,7 @@ class EditorPlayState extends MusicBeatState

if (!note.isSustainNote)
{
if (!ClientPrefs.lowQuality) note.kill();
//if (!ClientPrefs.lowQuality) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down Expand Up @@ -870,7 +870,7 @@ class EditorPlayState extends MusicBeatState

if (!note.isSustainNote)
{
if (!ClientPrefs.lowQuality) note.kill();
//if (!ClientPrefs.lowQuality) note.kill();
notes.remove(note, true);
note.destroy();
}
Expand Down

0 comments on commit eea28fa

Please sign in to comment.