Disable writing to replay query while replays are loading

This commit is contained in:
indev authored and Alug committed 2026-07-01 22:29:59 +02:00
1 parent e1b2904b44
commit bf0db67131
1 file changed
+8
+8
View File
@@ -4249,6 +4249,14 @@ static boolean M_HandleReplayHutQuery(INT32 choice)
char tmp[MAXREPLAYQUERY+1];
memcpy(tmp, replayqueryinput_buffer, MAXREPLAYQUERY+1);
Lock_search_state();
if (!replaynamesloaded)
{
Unlock_search_state();
return false;
}
Unlock_search_state();
if (M_TextInputHandle(&replayqueryinput, choice))
{
S_StartSound(NULL, sfx_menu1);