mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use COM_ImmedExecute to load the config, so the buffer size doesn't matter
This commit is contained in:
parent
aa948b1de3
commit
67c355e571
1 changed files with 1 additions and 2 deletions
|
|
@ -717,8 +717,7 @@ static void COM_Exec_f(void)
|
|||
CONS_Printf(M_GetText("executing %s\n"), COM_Argv(1));
|
||||
|
||||
// insert text file into the command buffer
|
||||
COM_BufAddText((char *)buf);
|
||||
COM_BufAddText("\n");
|
||||
COM_ImmedExecute((char *)buf);
|
||||
|
||||
// free buffer
|
||||
Z_Free(buf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue