tetris: clear screen in case background isn't available

pull/816/head
nick black 4 years ago
parent bcabc0960b
commit 7a459abd56
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -8,6 +8,7 @@ void DrawBackground(const std::string& s) { // drawn to the standard plane
}
void DrawBoard() { // draw all fixed components of the game
stdplane_->erase();
try{
DrawBackground(BackgroundFile);
}catch(...){

Loading…
Cancel
Save