diff options
Diffstat (limited to 'source/ui_atoms.c')
-rw-r--r-- | source/ui_atoms.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/ui_atoms.c b/source/ui_atoms.c index c1948fa..b92eae9 100644 --- a/source/ui_atoms.c +++ b/source/ui_atoms.c @@ -709,7 +709,9 @@ static const uicmd_t uicmds[] = { static void ui_background_changed( cvar_t *self ) { if( self->string[0] ) { uis.backgroundHandle = ref.RegisterPic( self->string ); - } + } else { + uis.backgroundHandle = 0; + } } static void ui_scale_changed( cvar_t *self ) { |