Fix segfault in mobile UI on desktop
This commit is contained in:
parent
a13c96ce0a
commit
1960ea827e
1 changed files with 1 additions and 1 deletions
|
|
@ -1238,7 +1238,7 @@ void PhoneDrawingProgramScreen::input_global_back_button_callback() {
|
|||
}
|
||||
|
||||
void PhoneDrawingProgramScreen::save_to_file() {
|
||||
if(!main.world->netClient)
|
||||
if(main.world && !main.world->netClient)
|
||||
main.world->save_to_file(main.world->filePath);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue