Don't display the playfield if no chart is loaded

This commit is contained in:
Stepland 2023-07-13 00:27:53 +02:00
parent 8feb8398c9
commit ab6f9b2cfa

View File

@ -473,7 +473,7 @@ int main() {
if (editor_state->show_history) {
editor_state->display_history();
}
if (editor_state->show_playfield) {
if (editor_state->chart_state and editor_state->show_playfield) {
editor_state->display_playfield(*marker, markerEndingState);
}
if (editor_state->show_linear_view) {