mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Move returning to editor to end of frame
This fixes horizontal and vertical warp backgrounds not resetting, and also a bunch of other 1-frame glitches, most noticeably cutscene bars and fadeouts. This adds a new variable shouldreturntoeditor to Game to signal whether or not it should return to editor at the end of the frame.
This commit is contained in:
@@ -1537,7 +1537,7 @@ void gameinput()
|
||||
game.activeactivity = -1;
|
||||
}
|
||||
}else{
|
||||
game.returntoeditor();
|
||||
game.shouldreturntoeditor = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user