Merge pull request #654 from AttorneyOnline/fix-bg-bug

Fix backgrounds getting messed up, closes #635
This commit is contained in:
oldmud0 2022-02-20 22:51:35 -06:00 committed by GitHub
commit d0336c1035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -657,6 +657,10 @@ void Courtroom::set_widgets()
// them.
ui_settings->show();
// make the BG's reload
ui_vp_background->kill();
ui_vp_desk->kill();
ui_vp_background->move_and_center(0, 0);
ui_vp_background->combo_resize(ui_viewport->width(), ui_viewport->height());