diff --git a/src/sound/music/music_midi_base.cpp b/src/sound/music/music_midi_base.cpp index cdd2790d4..4b5f014c9 100644 --- a/src/sound/music/music_midi_base.cpp +++ b/src/sound/music/music_midi_base.cpp @@ -188,7 +188,7 @@ CCMD (snd_listmididevices) #endif -CUSTOM_CVAR (Int, snd_mididevice, DEF_MIDIDEV, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) +CUSTOM_CVAR (Int, snd_mididevice, DEF_MIDIDEV, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL) { if ((self >= (signed)nummididevices) || (self < -8)) {