check for edit mode to determine if judgement should be done.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
9d522eeca4
commit
3fd0bbb21f
@ -142,11 +142,11 @@ public class LLSIG implements KeyListener{
|
||||
case KeyEvent.VK_P:{if (LLSIG.game.PLAYING&&musicPlayer.isPaused()) {musicPlayer.resume();} else {musicPlayer.pause();}}break;
|
||||
case KeyEvent.VK_Q:{if (LLSIG.game.PLAYING) {musicPlayer.pause();SaveSongData(song,lanes);}}break;
|
||||
}
|
||||
if (LLSIG.game.PLAYING&&lane!=-1) {
|
||||
if (LLSIG.game.PLAYING&&lane!=-1&&EDITMODE) {
|
||||
LLSIG.game.lanes.get(lane).addNote(new Note(NoteType.NORMAL,musicPlayer.getPlayPosition()));
|
||||
}
|
||||
if (lane!=-1) {
|
||||
if (PLAYING) {
|
||||
if (PLAYING&&!EDITMODE) {
|
||||
Lane l = lanes.get(lane);
|
||||
if (l.noteExists()) {
|
||||
Note n = l.getNote();
|
||||
|
Loading…
x
Reference in New Issue
Block a user